From 37c3c081132697c86e2c026b69939cddd845a817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Tue, 18 Jun 2024 16:42:12 +0200 Subject: [PATCH] [feat] nvim: nil-ls enable autoArchive/EvaluateInputs Makes nil-ls more useful --- nvim/plugins.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nvim/plugins.nix b/nvim/plugins.nix index 056af9a..933c1c3 100644 --- a/nvim/plugins.nix +++ b/nvim/plugins.nix @@ -137,7 +137,13 @@ # clangd.enable = true; # Adds ~2GiB html.enable = true; jsonls.enable = true; - nil-ls.enable = true; + nil-ls = { + enable = true; + settings.nix.flake = { + autoArchive = true; + autoEvalInputs = true; + }; + }; ruff-lsp.enable = true; taplo.enable = true; # texlab.enable = true; # Not writing TeX rn -- 2.47.0