mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 01:42:55 +00:00
replace rnix lsp with nil
This commit is contained in:
parent
5bbba2be39
commit
b04c442c87
@ -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)
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
home.packages = with pkgs; [
|
||||
nixfmt # Nix file formatter
|
||||
rnix-lsp # Nix language server
|
||||
nil # Nix language server
|
||||
];
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user