feat(nvim): enable zig support #137

Merged
jalil merged 1 commit from nvim-zig-support into main 2024-11-07 18:38:45 +01:00
Showing only changes of commit 146847f5c5 - Show all commits

View file

@ -10,7 +10,7 @@ let
cfg = config.jhome.nvim; cfg = config.jhome.nvim;
enabledLSPs = [ enabledLSPs = [
"bashls" "bashls"
# "clangd" # Adds ~2GiB "clangd"
# "html" # Not writing html # "html" # Not writing html
"jsonls" "jsonls"
"marksman" "marksman"
@ -21,6 +21,7 @@ let
# "texlab" # Not using it # "texlab" # Not using it
"typos_lsp" "typos_lsp"
# "typst_lsp" # Not using it # "typst_lsp" # Not using it
"zls"
]; ];
in in
{ {
@ -43,7 +44,13 @@ in
plugins = { plugins = {
lsp = { lsp = {
enable = true; 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 = { lspkind = {
enable = true; enable = true;