Use prettier instead of jsbeautify for js and css

This commit is contained in:
Maximilian Friedersdorff 2026-02-09 09:23:09 +00:00
parent c871089eee
commit 29b0c1290a
2 changed files with 4 additions and 2 deletions

View file

@ -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" },
--

View file

@ -35,6 +35,7 @@ return {
'fortls',
'arduino-language-server',
'terraform-ls',
'prettier',
},
},
},