mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-14 15:08:47 +02:00
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 changed files with 1 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue