feat: add latexindent formatter
parent
d4db0cec27
commit
1a2369c8db
|
@ -2,6 +2,7 @@ local conform = require("conform")
|
||||||
|
|
||||||
local formatters_by_ft = {
|
local formatters_by_ft = {
|
||||||
["*"] = { "codespell", "trim_whitespace" },
|
["*"] = { "codespell", "trim_whitespace" },
|
||||||
|
gleam = { "gleam" },
|
||||||
go = { "gofmt" },
|
go = { "gofmt" },
|
||||||
json = { "jq" },
|
json = { "jq" },
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
|
@ -9,9 +10,9 @@ local formatters_by_ft = {
|
||||||
python = { { "ruff_fix", "isort" }, { "ruff_format", "black" } },
|
python = { { "ruff_fix", "isort" }, { "ruff_format", "black" } },
|
||||||
rust = { "rustfmt" },
|
rust = { "rustfmt" },
|
||||||
sh = { "shfmt" },
|
sh = { "shfmt" },
|
||||||
|
tex = { "latexindent" },
|
||||||
toml = { "taplo" },
|
toml = { "taplo" },
|
||||||
yaml = { "yamlfix" },
|
yaml = { "yamlfix" },
|
||||||
gleam = { "gleam" },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
conform.setup({
|
conform.setup({
|
||||||
|
|
Loading…
Reference in New Issue