16 lines
382 B
Lua
16 lines
382 B
Lua
|
return {
|
||
|
'stevearc/conform.nvim',
|
||
|
opts = {
|
||
|
formatters_by_ft = {
|
||
|
javascript = { "prettierd" },
|
||
|
typescript = { "prettierd" },
|
||
|
php = { "pint" }
|
||
|
},
|
||
|
format_on_save = {
|
||
|
-- These options will be passed to conform.format()
|
||
|
timeout_ms = 500,
|
||
|
lsp_format = "fallback",
|
||
|
},
|
||
|
},
|
||
|
}
|