From 7efca1eaaeb9cd4ede49d96d8ee0d9579393a37d Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 1 Mar 2024 16:52:26 +0100 Subject: [PATCH] disable write-good --- lua/custom/configs/overrides.lua | 2 +- lua/custom/plugins.lua | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/custom/configs/overrides.lua b/lua/custom/configs/overrides.lua index 713113d..d1217f5 100644 --- a/lua/custom/configs/overrides.lua +++ b/lua/custom/configs/overrides.lua @@ -57,7 +57,7 @@ M.mason = { "pyright", -- english?? - "write-good", + -- "write-good", -- shell "shellcheck", diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index b74ccaf..da21276 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -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)