From 9f59290f50b31ec613084217119084afe4ecd2f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Wed, 9 Oct 2024 09:03:22 +0200 Subject: [PATCH] fix(nvim): clean up some old configuration stuff - 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. --- nvim/plugins.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/nvim/plugins.nix b/nvim/plugins.nix index fa887c2..4a85f8e 100644 --- a/nvim/plugins.nix +++ b/nvim/plugins.nix @@ -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