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