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.
This commit is contained in:
parent
1a6c63949b
commit
21117f7f1e
1
init.lua
1
init.lua
|
@ -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…
Reference in New Issue