use prettier as formatting

This commit is contained in:
Stian Tøsse 2025-11-24 09:00:39 +01:00
parent c488ac96a9
commit 3f5a91e792
1 changed files with 4 additions and 5 deletions

View File

@ -581,11 +581,10 @@ require('lazy').setup({
end, end,
formatters_by_ft = { formatters_by_ft = {
lua = { 'stylua' }, lua = { 'stylua' },
-- Conform can also run multiple formatters sequentially javascript = { 'prettier' },
-- python = { "isort", "black" }, typescript = { 'prettier' },
-- tsx = { 'prettier' },
-- You can use 'stop_after_first' to run the first available formatter from the list typescriptreact = { 'prettier' },
-- javascript = { "prettierd", "prettier", stop_after_first = true },
}, },
}, },
}, },