disable write-good
This commit is contained in:
parent
1541574eee
commit
7efca1eaae
|
@ -57,7 +57,7 @@ M.mason = {
|
||||||
"pyright",
|
"pyright",
|
||||||
|
|
||||||
-- english??
|
-- english??
|
||||||
"write-good",
|
-- "write-good",
|
||||||
|
|
||||||
-- shell
|
-- shell
|
||||||
"shellcheck",
|
"shellcheck",
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue