Configure css and js beautifiers
This commit is contained in:
parent
7cc4a34434
commit
51f0da7441
1 changed files with 4 additions and 2 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue