feat: add latexindent formatter

nixos
Moritz Böhme 2024-06-24 09:43:55 +02:00
parent d4db0cec27
commit 1a2369c8db
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 2 additions and 1 deletions

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({