feat(nvim): add nix lsp

This commit is contained in:
matt1432 2023-09-19 11:58:34 -04:00
parent c6d65aee19
commit 34d1e0ee47

View file

@ -29,7 +29,14 @@ in {
],
"sumneko-lua.serverDir": "${pkgs.lua-language-server}/share/lua-language-server",
"java.jdt.ls.java.home": "${pkgs.temurin-bin-18}",
"bashIde.shellcheckPath": "${pkgs.shellcheck}/bin/shellcheck"
"bashIde.shellcheckPath": "${pkgs.shellcheck}/bin/shellcheck",
"languageserver": {
"nix": {
"command": "nil",
"filetypes": ["nix"],
"rootPatterns": ["flake.nix"],
}
}
}
'';
};
@ -58,6 +65,7 @@ in {
bat
python311Packages.pylint
nil
];
plugins = with pkgs.vimPlugins; [
vim-which-key