mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 18:47:35 +00:00
Update writegood config
Skip adverb warnings and try to make everything a WARN severity, but this doesn't work
This commit is contained in:
parent
a4119cae0f
commit
3dabf98e5b
@ -50,7 +50,12 @@ function M.configure(options)
|
|||||||
-- Text
|
-- Text
|
||||||
null_ls.builtins.code_actions.proselint,
|
null_ls.builtins.code_actions.proselint,
|
||||||
null_ls.builtins.diagnostics.proselint,
|
null_ls.builtins.diagnostics.proselint,
|
||||||
null_ls.builtins.diagnostics.write_good,
|
null_ls.builtins.diagnostics.write_good.with({
|
||||||
|
extra_args = { "--no-adverb" },
|
||||||
|
diagnostics_postprocess = function(diagnostic)
|
||||||
|
diagnostic.severity = vim.diagnostic.severity.WARN
|
||||||
|
end,
|
||||||
|
}),
|
||||||
-- null_ls.builtins.diagnostics.alex
|
-- null_ls.builtins.diagnostics.alex
|
||||||
-- Ansible
|
-- Ansible
|
||||||
-- null_ls.builtins.diagnostics.ansiblelint.with({filetypes={"yaml.ansible"}}),
|
-- null_ls.builtins.diagnostics.ansiblelint.with({filetypes={"yaml.ansible"}}),
|
||||||
|
Loading…
Reference in New Issue
Block a user