apllied config
This commit is contained in:
parent
5978ec3f28
commit
0874dcd113
15 changed files with 343 additions and 121 deletions
10
lua/plugin/formatter.lua
Normal file
10
lua/plugin/formatter.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
local formatter = require("conform")
|
||||
|
||||
formatter.setup({
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
-- Use a sub-list to run only the first available formatter
|
||||
javascript = { { "prettierd", "prettier" } },
|
||||
typescript = { { "prettier" } },
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue