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