use prettier as formatting
This commit is contained in:
parent
c488ac96a9
commit
3f5a91e792
9
init.lua
9
init.lua
|
|
@ -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 },
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue