[feat] nvim: enable more lsps
All checks were successful
/ check (push) Successful in 28s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 23s
/ build (nvim) (push) Successful in 15s

Also, don't install rust-analyzer, install it externally (e.g. rustup)
This commit is contained in:
Jalil David Salamé Messina 2024-06-22 19:06:45 +02:00
parent 09e9158b85
commit ac5e62a37c
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -141,6 +141,17 @@ in
}; };
}; };
gitsigns.enable = true; gitsigns.enable = true;
lint = {
enable = true;
lintersByFt = {
rust = ["typos"];
latex = ["chktex" "typos"];
markdown = ["typos"];
nix = ["statix"];
sh = ["dash"];
zsh = ["zsh"];
};
};
lsp = { lsp = {
enable = true; enable = true;
servers = { servers = {
@ -149,6 +160,8 @@ in
# clangd.enable = true; # Adds ~2GiB # clangd.enable = true; # Adds ~2GiB
html.enable = true; html.enable = true;
jsonls.enable = true; jsonls.enable = true;
marksman.enable = true;
nixd.enable = true;
nil-ls = { nil-ls = {
enable = true; enable = true;
settings.nix.flake = { settings.nix.flake = {
@ -209,7 +222,11 @@ in
mode = "virtualtext"; mode = "virtualtext";
}; };
}; };
rustaceanvim.enable = true; rustaceanvim = {
enable = true;
# Install through rustup
rustAnalyzerPackage = null;
};
telescope = { telescope = {
enable = true; enable = true;
extensions = { extensions = {
@ -226,16 +243,5 @@ in
enable = true; enable = true;
settings.auto_close = true; settings.auto_close = true;
}; };
lint = {
enable = true;
lintersByFt = {
rust = ["typos"];
latex = ["chktex" "typos"];
markdown = ["typos"];
nix = ["statix"];
sh = ["dash"];
zsh = ["zsh"];
};
};
}; };
} }