diff options
| author | RustemB <rustemb@systemli.org> | 2021-08-22 15:12:48 +0500 |
|---|---|---|
| committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-11-15 21:42:08 -0800 |
| commit | 607d9400b09b4bb28e6b1c68b232842953649e73 (patch) | |
| tree | 4172a77a65518c963e4bb99ebcf3749f2e925f17 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-607d9400b09b4bb28e6b1c68b232842953649e73.tar nvim-lspconfig-607d9400b09b4bb28e6b1c68b232842953649e73.tar.gz nvim-lspconfig-607d9400b09b4bb28e6b1c68b232842953649e73.tar.bz2 nvim-lspconfig-607d9400b09b4bb28e6b1c68b232842953649e73.tar.lz nvim-lspconfig-607d9400b09b4bb28e6b1c68b232842953649e73.tar.xz nvim-lspconfig-607d9400b09b4bb28e6b1c68b232842953649e73.tar.zst nvim-lspconfig-607d9400b09b4bb28e6b1c68b232842953649e73.zip | |
feat: add support for SixtyFPS language server
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/sixtyfps.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lua/lspconfig/sixtyfps.lua b/lua/lspconfig/sixtyfps.lua new file mode 100644 index 00000000..1ebc8774 --- /dev/null +++ b/lua/lspconfig/sixtyfps.lua @@ -0,0 +1,30 @@ +local configs = require 'lspconfig/configs' + +configs.sixtyfps = { + default_config = { + cmd = { 'sixtyfps-lsp' }, + filetypes = { 'sixtyfps' }, + single_file_support = true, + }, + docs = { + description = [=[ +https://github.com/sixtyfpsui/sixtyfps +`SixtyFPS`'s language server + +You can build and install `sixtyfps-lsp` binary with `cargo`: +```sh +cargo install sixtyfps-lsp +``` + +Vim does not have built-in syntax for the `sixtyfps` filetype currently. + +This can be added via an autocmd: + +```lua +vim.cmd [[ autocmd BufRead,BufNewFile *.60 set filetype=sixtyfps ]] +``` + +or by installing a filetype plugin such as https://github.com/RustemB/sixtyfps-vim +]=], + }, +} |
