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' },
|
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" },
|
||||||
--
|
--
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ return {
|
||||||
'fortls',
|
'fortls',
|
||||||
'arduino-language-server',
|
'arduino-language-server',
|
||||||
'terraform-ls',
|
'terraform-ls',
|
||||||
|
'prettier',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue