feat(lsp): add nix lsp, install lsp servers
This commit is contained in:
parent
af7517c34e
commit
266ada0e90
1 changed files with 7 additions and 0 deletions
|
@ -8,6 +8,12 @@
|
|||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
libclang
|
||||
nil
|
||||
rust-analyzer
|
||||
];
|
||||
|
||||
programs.neovim = let
|
||||
leader = ",";
|
||||
in {
|
||||
|
@ -365,6 +371,7 @@
|
|||
servers = [
|
||||
"clangd"
|
||||
"gopls"
|
||||
"nil_ls"
|
||||
"rust_analyzer"
|
||||
];
|
||||
serverConfigs = lib.strings.concatStringsSep "\n" (builtins.map configure servers);
|
||||
|
|
Loading…
Reference in a new issue