replace rnix lsp with nil

This commit is contained in:
Noah Masur 2022-11-07 08:04:29 -05:00
parent 5bbba2be39
commit b04c442c87
2 changed files with 3 additions and 3 deletions

View File

@ -46,8 +46,8 @@ M.packer = function(use)
capabilities = capabilities,
})
end
if on_path("rnix-lsp") then
require("lspconfig").rnix.setup({ capabilities = capabilities })
if on_path("nil") then
require("lspconfig").nil_ls.setup({ capabilities = capabilities })
end
vim.keymap.set("n", "gd", vim.lsp.buf.definition)

View File

@ -4,7 +4,7 @@
home.packages = with pkgs; [
nixfmt # Nix file formatter
rnix-lsp # Nix language server
nil # Nix language server
];
};