feat: add latexindent formatter

This commit is contained in:
Moritz Böhme 2024-06-24 09:43:55 +02:00
parent d4db0cec27
commit 1a2369c8db
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -2,6 +2,7 @@ local conform = require("conform")
local formatters_by_ft = {
["*"] = { "codespell", "trim_whitespace" },
gleam = { "gleam" },
go = { "gofmt" },
json = { "jq" },
lua = { "stylua" },
@ -9,9 +10,9 @@ local formatters_by_ft = {
python = { { "ruff_fix", "isort" }, { "ruff_format", "black" } },
rust = { "rustfmt" },
sh = { "shfmt" },
tex = { "latexindent" },
toml = { "taplo" },
yaml = { "yamlfix" },
gleam = { "gleam" },
}
conform.setup({