mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 20:46:28 +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
|
||||
null_ls.builtins.code_actions.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
|
||||
-- Ansible
|
||||
-- null_ls.builtins.diagnostics.ansiblelint.with({filetypes={"yaml.ansible"}}),
|
||||
|
Loading…
Reference in New Issue
Block a user