From b526cfc6f888e825f5a5ed87d2230a7881d23a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Mon, 13 May 2024 10:34:19 +0200 Subject: [PATCH] feat: improve null-ls-nvim experience --- modules/programs/nvim/default.nix | 5 +++-- modules/programs/nvim/plugins/lua/null-ls-nvim.lua | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/programs/nvim/default.nix b/modules/programs/nvim/default.nix index 2879ae5..5619db8 100644 --- a/modules/programs/nvim/default.nix +++ b/modules/programs/nvim/default.nix @@ -36,12 +36,13 @@ in nixd nixpkgs-fmt nodePackages.bash-language-server - nodePackages.jsonlint + python3Packages.python-lsp-server + python3Packages.ruff-lsp shellcheck shfmt + stable.yamlfix statix taplo - stable.yamlfix yamllint ]; extraLuaConfig = readFile ./options.lua; diff --git a/modules/programs/nvim/plugins/lua/null-ls-nvim.lua b/modules/programs/nvim/plugins/lua/null-ls-nvim.lua index 3d40357..fe88108 100644 --- a/modules/programs/nvim/plugins/lua/null-ls-nvim.lua +++ b/modules/programs/nvim/plugins/lua/null-ls-nvim.lua @@ -10,7 +10,6 @@ null_ls.setup({ null_ls.builtins.diagnostics.deadnix, null_ls.builtins.diagnostics.dotenv_linter, null_ls.builtins.diagnostics.fish, - null_ls.builtins.diagnostics.jsonlint, null_ls.builtins.diagnostics.shellcheck, null_ls.builtins.diagnostics.statix, null_ls.builtins.diagnostics.trail_space,