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.
pull/1638/head
OdysseusOperator 4 months ago
parent 1a6c63949b
commit 21117f7f1e

@ -789,6 +789,7 @@ require('lazy').setup({
-- Conform can also run multiple formatters sequentially
python = { 'ruff_format', 'ruff_organize_imports' },
json = { 'prettier' },
html = { 'prettier' },
-- You can use 'stop_after_first' to run the first available formatter from the list
javascript = { 'prettierd', 'prettier', stop_after_first = true },
yaml = { 'prettierd', 'prettier', stop_after_first = true },

Loading…
Cancel
Save