fix(nvim): clean up some old configuration stuff
All checks were successful
/ check (push) Successful in 18s
/ 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

- Remove `typos` from `plugins.lints` (we already use `typos_lsp`)
- Comment out unused lsp servers. They are big and we don't want to
  increase the closure/package size too much.
This commit is contained in:
Jalil David Salamé Messina 2024-10-09 09:03:22 +02:00
parent 63f6aa75be
commit 9f59290f50
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -163,12 +163,7 @@ in
lint = { lint = {
enable = true; enable = true;
lintersByFt = { lintersByFt = {
rust = [ "typos" ]; latex = [ "chktex" ];
latex = [
"chktex"
"typos"
];
markdown = [ "typos" ];
nix = [ "statix" ]; nix = [ "statix" ];
sh = [ "dash" ]; sh = [ "dash" ];
zsh = [ "zsh" ]; zsh = [ "zsh" ];
@ -177,10 +172,12 @@ in
lsp = { lsp = {
enable = true; enable = true;
servers = { servers = {
bashls.enable = true; bashls = {
bashls.package = pkgs.unstable.bash-language-server; enable = true;
package = pkgs.unstable.bash-language-server;
};
# clangd.enable = true; # Adds ~2GiB # clangd.enable = true; # Adds ~2GiB
html.enable = true; # html.enable = true; # Not writing html
jsonls.enable = true; jsonls.enable = true;
marksman.enable = true; marksman.enable = true;
nixd.enable = true; nixd.enable = true;
@ -192,7 +189,6 @@ in
}; };
}; };
pyright.enable = true; pyright.enable = true;
# ruff-lsp.enable = true;
ruff.enable = true; ruff.enable = true;
taplo.enable = true; taplo.enable = true;
# texlab.enable = true; # Not writing TeX rn # texlab.enable = true; # Not writing TeX rn