12 lines
278 B
Lua
12 lines
278 B
Lua
require("conform").setup({
|
|
formatters_by_ft = {
|
|
lua = { "stylua" },
|
|
python = { "isort", "black" },
|
|
javascript = { "prettier" },
|
|
rust = { "rustfmt" },
|
|
nix = { "alejandra" },
|
|
["*"] = { "codespell" },
|
|
},
|
|
log_level = vim.log.levels.ERROR,
|
|
notify_on_error = true,
|
|
})
|