Skip to content

Commit

Permalink
feat(formatter): add latexindent (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjiajia authored Aug 12, 2023
1 parent c70cd92 commit 9269fdb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lua/guard/tools/formatter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,15 @@ M.isort = {
stdin = true,
}

M.latexindent = {
cmd = 'latexindent',
args = { '-g', '/dev/null' },
stdin = true,
}

M.mixformat = {
cmd = 'mix',
args = {'format', '-', '--stdin-filename'},
args = { 'format', '-', '--stdin-filename' },
stdin = true,
fname = true,
}
Expand Down

0 comments on commit 9269fdb

Please sign in to comment.