feat(nvim): add nix lsp
This commit is contained in:
parent
c6d65aee19
commit
34d1e0ee47
1 changed files with 9 additions and 1 deletions
|
@ -29,7 +29,14 @@ in {
|
||||||
],
|
],
|
||||||
"sumneko-lua.serverDir": "${pkgs.lua-language-server}/share/lua-language-server",
|
"sumneko-lua.serverDir": "${pkgs.lua-language-server}/share/lua-language-server",
|
||||||
"java.jdt.ls.java.home": "${pkgs.temurin-bin-18}",
|
"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
|
bat
|
||||||
|
|
||||||
python311Packages.pylint
|
python311Packages.pylint
|
||||||
|
nil
|
||||||
];
|
];
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
vim-which-key
|
vim-which-key
|
||||||
|
|
Loading…
Reference in a new issue