fix formatter

This commit is contained in:
jordanyono 2025-11-21 16:50:22 -05:00
parent 1bd862e78b
commit fea500cefb
1 changed files with 3 additions and 4 deletions

View File

@ -989,17 +989,16 @@ require('lazy').setup({
end,
formatters_by_ft = {
lua = { 'stylua' },
sql = { 'sql-formatter' },
sql = { 'sql_formatter' },
-- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" },
--
-- You can use 'stop_after_first' to run the first available formatter from the list
-- javascript = { "prettierd", "prettier", stop_after_first = true },
--formatters = {
},
formatters = {
['sql-formatter'] = {
prepend_args = { '-l', 'postgresql' },
['sql_formatter'] = {
prepend_args = { '-l', 'postgresql', '-c', '{"useTabs": true}' },
},
},
},