dotfiles/.config/nvim/lua/plugins/conform.lua

11 lines
210 B
Lua

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