Turn off formatting on save of buffer

This commit is contained in:
Zach Zolton 2024-02-27 17:11:39 -05:00
parent e50c61a3ba
commit ee02f5e450
No known key found for this signature in database
1 changed files with 1 additions and 4 deletions

View File

@ -583,10 +583,7 @@ require('lazy').setup({
'stevearc/conform.nvim', 'stevearc/conform.nvim',
opts = { opts = {
notify_on_error = false, notify_on_error = false,
format_on_save = { format_on_save = false,
timeout_ms = 500,
lsp_fallback = true,
},
formatters_by_ft = { formatters_by_ft = {
lua = { 'stylua' }, lua = { 'stylua' },
-- Conform can also run multiple formatters sequentially -- Conform can also run multiple formatters sequentially