feat(lsp): add nix lsp, install lsp servers

This commit is contained in:
buffet 2023-01-25 13:05:53 +01:00
parent af7517c34e
commit 266ada0e90

View file

@ -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);