summaryrefslogtreecommitdiffstats
path: root/lua/conform
diff options
context:
space:
mode:
authorIsak Samsten <isak@samsten.se>2023-09-14 17:09:57 +0200
committerGitHub <noreply@github.com>2023-09-14 08:09:57 -0700
commit502a3583663ede11c8db1e9980db342b117d79f2 (patch)
tree307fc17fbc686cbd0d785716a4b28e0ce81a8539 /lua/conform
parentfdc4a0f05c21012f2445a993ebdad700380dcfbf (diff)
feat: latexindent (#42)
Diffstat (limited to 'lua/conform')
-rw-r--r--lua/conform/formatters/latexindent.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/latexindent.lua b/lua/conform/formatters/latexindent.lua
new file mode 100644
index 0000000..1ac3c4e
--- /dev/null
+++ b/lua/conform/formatters/latexindent.lua
@@ -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,
+}