You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
413 B

return {
-- improved refactoring
{
'stevearc/conform.nvim',
config = function()
require("conform").setup({
formatters_by_ft = {
python = { "isort", "black" },
markdown = { "mdformat" },
tex = { "latexindent" },
}
})
require("conform").formatters.latexindent = {
prepend_args = { "-y=defaultIndent: ' '" },
}
end
}
}