diff options
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 +]=], + }, +} |
