mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 05:51:04 +00:00
prettier set up
This commit is contained in:
parent
f98fc13247
commit
f1dc92c1e3
1 changed files with 9 additions and 0 deletions
9
lua/plugins/conform.lua
Normal file
9
lua/plugins/conform.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
return {
|
||||||
|
"stevearc/conform.nvim",
|
||||||
|
opts = {
|
||||||
|
formatters_by_ft = {
|
||||||
|
typescript = { "prettier" }, -- no Prettier for TS
|
||||||
|
typescriptreact = { "prettier" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue