From b785d185223f7a572876075b5af246e80e31f4a8 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 16 Jun 2023 12:32:54 -0500 Subject: [PATCH] refactor(nvim): do not show diags for `shellcheck` in `null-ls` We already use the `bashls` language server that shows diags from `shellcheck`. Mainly we want some additional code actions from `null-ls` for `shellcheck` as `bashls` doesn't expose everything. --- dots/.config/nvim/lua/plugins/configs/null_ls.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/null_ls.lua b/dots/.config/nvim/lua/plugins/configs/null_ls.lua index 2e02f920..f17551f2 100755 --- a/dots/.config/nvim/lua/plugins/configs/null_ls.lua +++ b/dots/.config/nvim/lua/plugins/configs/null_ls.lua @@ -5,7 +5,6 @@ null_ls.setup({ null_ls.builtins.formatting.shfmt.with({ extra_args = { "-i 4" }, }), - null_ls.builtins.diagnostics.shellcheck, null_ls.builtins.code_actions.shellcheck, null_ls.builtins.diagnostics.hadolint, null_ls.builtins.code_actions.refactoring,