Use prettier instead of jsbeautify for js and css
This commit is contained in:
parent
c871089eee
commit
29b0c1290a
2 changed files with 4 additions and 2 deletions
|
|
@ -432,8 +432,9 @@ require('lazy').setup({
|
|||
htmldjango = { 'djlint' },
|
||||
python = { 'ruff_fix', 'ruff_format', 'ruff_organize_imports' },
|
||||
-- You can use 'stop_after_first' to run the first available formatter from the list
|
||||
javascript = { 'js_beautify' },
|
||||
css = { 'css_beautify' },
|
||||
javascript = { 'prettier' },
|
||||
css = { 'prettier' },
|
||||
markdown = { 'prettier' },
|
||||
-- Conform can also run multiple formatters sequentially
|
||||
-- python = { "isort", "black" },
|
||||
--
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ return {
|
|||
'fortls',
|
||||
'arduino-language-server',
|
||||
'terraform-ls',
|
||||
'prettier',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue