rnix-lsp deprecated

This commit is contained in:
Anish Lakhwara 2024-03-16 00:31:57 -07:00
parent 97dfc062d4
commit c0ff69d9f8

View file

@ -635,7 +635,7 @@ in
} }
} }
local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'lua_ls'} local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'lua_ls', 'nil_ls'}
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
lspconfig[lsp].setup { lspconfig[lsp].setup {
on_attach = function(client, bufnr) on_attach = function(client, bufnr)
@ -645,13 +645,7 @@ in
capabilities = capabilities, capabilities = capabilities,
} }
end end
-- rnix doesn't support gps
lspconfig['rnix'].setup {
on_attach = function(client, bufnr)
format.on_attach(client)
end,
capabilities = capabilities,
}
-- fennel-ls doesn't support gps -- fennel-ls doesn't support gps
lspconfig['fennel-ls'].setup { lspconfig['fennel-ls'].setup {
on_attach = function(client, bufnr) on_attach = function(client, bufnr)
@ -865,7 +859,7 @@ in
nodejs nodejs
clojure-lsp clojure-lsp
clojure clojure
rnix-lsp nil
terraform-lsp terraform-lsp
rust-analyzer rust-analyzer
clj-kondo clj-kondo