Configure css and js beautifiers

This commit is contained in:
Maximilian Friedersdorff 2025-10-08 16:35:45 +01:00
parent 7cc4a34434
commit 51f0da7441

View file

@ -336,6 +336,7 @@ require('lazy').setup({
frecency = {
show_scores = true,
show_filter_column = false,
db_safe_mode = false,
},
},
defaults = require('telescope.themes').get_ivy {
@ -430,11 +431,12 @@ require('lazy').setup({
lua = { 'stylua' },
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' },
-- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" },
--
-- You can use 'stop_after_first' to run the first available formatter from the list
-- javascript = { "prettierd", "prettier", stop_after_first = true },
},
formatters = {
djlint = {