dotfiles/.config/nvim/lua/plugins/conform.lua
2024-03-17 12:32:47 +00:00

10 lines
188 B
Lua

require("conform").setup({
formatters_by_ft = {
python = { "black" },
javascript = { "prettierd" },
markdown = { "mdformat" },
},
format_on_save = {
lsp_fallback = true,
},
})