aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--doc/conform.txt1
-rw-r--r--lua/conform/formatters/llf.lua9
3 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index ed8993f..378f0ed 100644
--- a/README.md
+++ b/README.md
@@ -258,6 +258,7 @@ You can view this list in vim with `:help conform-formatters`
- [latexindent](https://github.com/cmhughes/latexindent.pl) - A perl script for formatting LaTeX files that is generally included in major TeX distributions.
- [leptosfmt](https://github.com/bram209/leptosfmt) - A formatter for the Leptos view! macro.
- [liquidsoap-prettier](https://github.com/savonet/liquidsoap-prettier) - A binary to format Liquidsoap scripts
+- [llf](https://repo.or.cz/llf.git) - A LaTeX reformatter / beautifier
- [lua-format](https://github.com/Koihik/LuaFormatter) - Code formatter for Lua.
- [markdown-toc](https://github.com/jonschlinkert/markdown-toc) - API and CLI for generating a markdown TOC (table of contents) for a README or any markdown files.
- [markdownlint](https://github.com/DavidAnson/markdownlint) - A Node.js style checker and lint tool for Markdown/CommonMark files.
diff --git a/doc/conform.txt b/doc/conform.txt
index aa87dbd..86f2d57 100644
--- a/doc/conform.txt
+++ b/doc/conform.txt
@@ -307,6 +307,7 @@ FORMATTERS *conform-formatter
included in major TeX distributions.
`leptosfmt` - A formatter for the Leptos view! macro.
`liquidsoap-prettier` - A binary to format Liquidsoap scripts
+`llf` - A LaTeX reformatter / beautifier
`lua-format` - Code formatter for Lua.
`markdown-toc` - API and CLI for generating a markdown TOC (table of contents)
for a README or any markdown files.
diff --git a/lua/conform/formatters/llf.lua b/lua/conform/formatters/llf.lua
new file mode 100644
index 0000000..ca9aa96
--- /dev/null
+++ b/lua/conform/formatters/llf.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://repo.or.cz/llf.git",
+ description = "A LaTeX reformatter / beautifier.",
+ },
+ command = "llf",
+ stdin = true,
+}