Skip to content

Commit 21117f7

Browse files
feat(init): add HTML support in formatter configuration
This commit introduces support for formatting HTML by adding 'prettier' to the formatter configuration. This enhancement allows for consistent styling across different file types, improving the coding process.
1 parent 1a6c639 commit 21117f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ require('lazy').setup({
789789
-- Conform can also run multiple formatters sequentially
790790
python = { 'ruff_format', 'ruff_organize_imports' },
791791
json = { 'prettier' },
792+
html = { 'prettier' },
792793
-- You can use 'stop_after_first' to run the first available formatter from the list
793794
javascript = { 'prettierd', 'prettier', stop_after_first = true },
794795
yaml = { 'prettierd', 'prettier', stop_after_first = true },

0 commit comments

Comments
 (0)