local null_ls_status_ok, null_ls = pcall(require, "null-ls")
if not null_ls_status_ok then
return
end
local formatting = null_ls.builtins.formatting
local code_actions = null_ls.builtins.code_actions
local diagnostics = null_ls.builtins.diagnostics
null_ls.setup({
debug = false,
sources = {
formatting.stylua,
code_actions.eslint_d,
diagnostics.eslint_d,
formatting.eslint_d,
diagnostics.markdownlint,
formatting.markdownlint,
diagnostics.yamllint,
formatting.rustfmt,
diagnostics.actionlint,
},
})