From ee02f5e450004d6da527b7e43aeb8951cdc5cc84 Mon Sep 17 00:00:00 2001 From: Zach Zolton Date: Tue, 27 Feb 2024 17:11:39 -0500 Subject: [PATCH] Turn off formatting on save of buffer --- init.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 156a8655..1dd5e3a1 100644 --- a/init.lua +++ b/init.lua @@ -583,10 +583,7 @@ require('lazy').setup({ 'stevearc/conform.nvim', opts = { notify_on_error = false, - format_on_save = { - timeout_ms = 500, - lsp_fallback = true, - }, + format_on_save = false, formatters_by_ft = { lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially