Skip to content

Commit f56b64f

Browse files
committed
updated conform formatter
1 parent 3b032c9 commit f56b64f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

after/plugin/conform-config.lua

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ require('conform').setup {
22
formatters_by_ft = {
33
lua = { 'stylua' },
44
python = { 'black' }, --'isort',
5-
javascript = { { 'prettierd', 'prettier' } },
6-
javascriptreact = { { 'prettier' } },
7-
typescriptreact = { { 'prettier' } },
8-
typescript = { { 'prettier' } },
5+
javascript = { "prettierd", "prettier", stop_after_first = true },
6+
javascriptreact = { 'prettier' },
7+
typescriptreact = { 'prettier' },
8+
typescript = { 'prettier' },
99
xml = { 'prettier', 'xmlformat' },
10-
html = { { 'prettier' } },
11-
go = { { 'gofumpt', 'goimports-reviser', 'golines' } },
10+
html = { 'prettier' },
11+
htmldjango = { 'prettier' },
12+
go = { 'gofumpt', 'goimports-reviser', 'golines', stop_after_first = true },
1213
java = { 'google-java-format' },
1314
templ = { 'templ' },
1415
},

0 commit comments

Comments
 (0)