disable write-good

This commit is contained in:
Christoph J. Scherr 2024-03-01 16:52:26 +01:00
parent 1541574eee
commit 7efca1eaae
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
2 changed files with 6 additions and 6 deletions

View File

@ -57,7 +57,7 @@ M.mason = {
"pyright",
-- english??
"write-good",
-- "write-good",
-- shell
"shellcheck",

View File

@ -594,11 +594,11 @@ local plugins = {
filetypes = { "django", "jinja.html", "htmldjango", "tera", "html" },
},
builtins.formatting.shfmt,
builtins.diagnostics.write_good.with {
diagnostics_postprocess = function(diagnostic)
diagnostic.severity = vim.diagnostic.severity.HINT
end,
},
-- builtins.diagnostics.write_good.with {
-- diagnostics_postprocess = function(diagnostic)
-- diagnostic.severity = vim.diagnostic.severity.HINT
-- end,
-- },
}
for _, source in ipairs(sources) do
table.insert(opts.sources, source)