Skip to content

Commit

Permalink
feat: latexindent (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaksamsten authored Sep 14, 2023
1 parent fdc4a0f commit 502a358
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ To view configured and available formatters, as well as to see the path to the l
- [htmlbeautifier](https://github.com/threedaymonk/htmlbeautifier) - A normaliser/beautifier for HTML that also understands embedded Ruby. Ideal for tidying up Rails templates.
- [isort](https://github.com/PyCQA/isort) - Python utility / library to sort imports alphabetically and automatically separate them into sections and by type.
- [jq](https://github.com/stedolan/jq) - Command-line JSON processor.
- [latexindent](https://github.com/cmhughes/latexindent.pl) - A perl script for formatting LaTeX files that is generally included in major TeX distributions.
- [nixfmt](https://github.com/serokell/nixfmt) - nixfmt is a formatter for Nix code, intended to apply a uniform style.
- [nixpkgs_fmt](https://github.com/nix-community/nixpkgs-fmt) - nixpkgs-fmt is a Nix code formatter for nixpkgs.
- [ocamlformat](https://github.com/ocaml-ppx/ocamlformat) - Auto-formatter for OCaml code.
Expand Down
9 changes: 9 additions & 0 deletions lua/conform/formatters/latexindent.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
return {
meta = {
url = "https://github.com/cmhughes/latexindent.pl",
description = "A perl script for formatting LaTeX files that is generally included in major TeX distributions.",
},
command = "latexindent",
args = { "-" },
stdin = true,
}

0 comments on commit 502a358

Please sign in to comment.