feat(nvim): enable zig support
All checks were successful
/ check (push) Successful in 45s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
All checks were successful
/ check (push) Successful in 45s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
But don't bundle ZLS, it is too big.
This commit is contained in:
parent
50a9deb2c9
commit
146847f5c5
1 changed files with 9 additions and 2 deletions
|
@ -10,7 +10,7 @@ let
|
|||
cfg = config.jhome.nvim;
|
||||
enabledLSPs = [
|
||||
"bashls"
|
||||
# "clangd" # Adds ~2GiB
|
||||
"clangd"
|
||||
# "html" # Not writing html
|
||||
"jsonls"
|
||||
"marksman"
|
||||
|
@ -21,6 +21,7 @@ let
|
|||
# "texlab" # Not using it
|
||||
"typos_lsp"
|
||||
# "typst_lsp" # Not using it
|
||||
"zls"
|
||||
];
|
||||
in
|
||||
{
|
||||
|
@ -43,7 +44,13 @@ in
|
|||
plugins = {
|
||||
lsp = {
|
||||
enable = true;
|
||||
servers.bashls.package = lib.mkDefault pkgs.bash-language-server;
|
||||
servers = {
|
||||
bashls.package = lib.mkDefault pkgs.bash-language-server;
|
||||
# Adds ~2 GiB, install in a devShell instead
|
||||
clangd.package = lib.mkDefault null;
|
||||
# zls & other zig tools are big, install in a devShell instead
|
||||
zls.package = lib.mkDefault null;
|
||||
};
|
||||
};
|
||||
lspkind = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue