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' }, htmldjango = { 'djlint' },
python = { 'ruff_fix', 'ruff_format', 'ruff_organize_imports' }, python = { 'ruff_fix', 'ruff_format', 'ruff_organize_imports' },
-- You can use 'stop_after_first' to run the first available formatter from the list -- You can use 'stop_after_first' to run the first available formatter from the list
javascript = { 'js_beautify' }, javascript = { 'prettier' },
css = { 'css_beautify' }, css = { 'prettier' },
markdown = { 'prettier' },
-- Conform can also run multiple formatters sequentially -- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" }, -- python = { "isort", "black" },
-- --

View file

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