From 7b5be3d239fdea14316ff3ba94e798d43c7b4461 Mon Sep 17 00:00:00 2001 From: StuartStephens Date: Mon, 17 Mar 2025 17:49:39 -0400 Subject: [PATCH] show error messages, add recommended config --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 47f2c1a4..ceb6e7df 100644 --- a/init.lua +++ b/init.lua @@ -742,8 +742,10 @@ require('lazy').setup({ desc = '[F]ormat buffer', }, }, + ---@module "conform" + ---@type conform.setupOpts opts = { - notify_on_error = false, + notify_on_error = true, format_on_save = function(bufnr) -- Disable "format_on_save lsp_fallback" for languages that don't -- have a well standardized coding style. You can add additional