dotfiles/nvim/lua/plugins/conform.lua

16 lines
382 B
Lua
Raw Normal View History

2024-12-19 20:50:42 +00:00
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",
},
},
}