updated conform formatter

pull/1708/head
Oluwatobi 5 months ago
parent 3b032c9f5c
commit f56b64f64e

@ -2,13 +2,14 @@ require('conform').setup {
formatters_by_ft = { formatters_by_ft = {
lua = { 'stylua' }, lua = { 'stylua' },
python = { 'black' }, --'isort', python = { 'black' }, --'isort',
javascript = { { 'prettierd', 'prettier' } }, javascript = { "prettierd", "prettier", stop_after_first = true },
javascriptreact = { { 'prettier' } }, javascriptreact = { 'prettier' },
typescriptreact = { { 'prettier' } }, typescriptreact = { 'prettier' },
typescript = { { 'prettier' } }, typescript = { 'prettier' },
xml = { 'prettier', 'xmlformat' }, xml = { 'prettier', 'xmlformat' },
html = { { 'prettier' } }, html = { 'prettier' },
go = { { 'gofumpt', 'goimports-reviser', 'golines' } }, htmldjango = { 'prettier' },
go = { 'gofumpt', 'goimports-reviser', 'golines', stop_after_first = true },
java = { 'google-java-format' }, java = { 'google-java-format' },
templ = { 'templ' }, templ = { 'templ' },
}, },

Loading…
Cancel
Save