From c0ff69d9f80500b271cecf6a2a07315618da8aa5 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Sat, 16 Mar 2024 00:31:57 -0700 Subject: [PATCH] rnix-lsp deprecated --- home/profiles/nvim/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/home/profiles/nvim/default.nix b/home/profiles/nvim/default.nix index 79bee583..9400cdb8 100644 --- a/home/profiles/nvim/default.nix +++ b/home/profiles/nvim/default.nix @@ -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 lspconfig[lsp].setup { on_attach = function(client, bufnr) @@ -645,13 +645,7 @@ in capabilities = capabilities, } 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 lspconfig['fennel-ls'].setup { on_attach = function(client, bufnr) @@ -865,7 +859,7 @@ in nodejs clojure-lsp clojure - rnix-lsp + nil terraform-lsp rust-analyzer clj-kondo