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", "pyright",
-- english?? -- english??
"write-good", -- "write-good",
-- shell -- shell
"shellcheck", "shellcheck",

View File

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