mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 19:15:37 +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,
|
capabilities = capabilities,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
if on_path("rnix-lsp") then
|
if on_path("nil") then
|
||||||
require("lspconfig").rnix.setup({ capabilities = capabilities })
|
require("lspconfig").nil_ls.setup({ capabilities = capabilities })
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.keymap.set("n", "gd", vim.lsp.buf.definition)
|
vim.keymap.set("n", "gd", vim.lsp.buf.definition)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nixfmt # Nix file formatter
|
nixfmt # Nix file formatter
|
||||||
rnix-lsp # Nix language server
|
nil # Nix language server
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user