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