dotfiles/nvim/lua/plugins/conform.lua
Nikos Papadakis b58adfce4a
nvim
2024-12-19 22:52:15 +02:00

15 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",
},
},
}