feat(nvim): enable zig support #137
1 changed files with 9 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue