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";
|
EDITOR = "nvim";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
libclang
|
||||||
|
nil
|
||||||
|
rust-analyzer
|
||||||
|
];
|
||||||
|
|
||||||
programs.neovim = let
|
programs.neovim = let
|
||||||
leader = ",";
|
leader = ",";
|
||||||
in {
|
in {
|
||||||
|
@ -365,6 +371,7 @@
|
||||||
servers = [
|
servers = [
|
||||||
"clangd"
|
"clangd"
|
||||||
"gopls"
|
"gopls"
|
||||||
|
"nil_ls"
|
||||||
"rust_analyzer"
|
"rust_analyzer"
|
||||||
];
|
];
|
||||||
serverConfigs = lib.strings.concatStringsSep "\n" (builtins.map configure servers);
|
serverConfigs = lib.strings.concatStringsSep "\n" (builtins.map configure servers);
|
||||||
|
|
Loading…
Reference in a new issue