Skip to content

Commit

Permalink
fix(nvim): clean up some old configuration stuff
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
jalil-salame committed Oct 9, 2024
1 parent 63f6aa7 commit 9f59290
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions nvim/plugins.nix
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,7 @@ in
lint = {
enable = true;
lintersByFt = {
rust = [ "typos" ];
latex = [
"chktex"
"typos"
];
markdown = [ "typos" ];
latex = [ "chktex" ];
nix = [ "statix" ];
sh = [ "dash" ];
zsh = [ "zsh" ];
Expand All @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 9f59290

Please sign in to comment.