Skip to content

Commit

Permalink
Deprecated builtins in null-ls
Browse files Browse the repository at this point in the history
  • Loading branch information
aceforeverd committed Feb 26, 2024
1 parent 5581da4 commit 54a34b4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lua/aceforeverd/plugins/null-ls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ function M.setup()
local sources = {
-- code actions
-- line comment to disable shellcheck error/warning
null_ls.builtins.code_actions.shellcheck,
-- null_ls.builtins.code_actions.shellcheck,

-- null_ls.builtins.formatting.prettier,
null_ls.builtins.formatting.eslint,
null_ls.builtins.formatting.shfmt.with({
extra_args = { '-i', '4' },
}),
Expand Down Expand Up @@ -54,7 +52,7 @@ function M.setup()
)
end,
}),
null_ls.builtins.diagnostics.shellcheck,
-- null_ls.builtins.diagnostics.shellcheck,
-- null_ls.builtins.diagnostics.cpplint.with({
-- condition = function(utils)
-- return utils.root_has_file({ 'CPPLINT.cfg' })
Expand Down

0 comments on commit 54a34b4

Please sign in to comment.