diff options
author | Eirik Rolland Enger <engeir@pm.me> | 2024-06-08 14:31:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-08 08:31:19 -0400 |
commit | 1743ee6f9fc52825bdee9493e246876bed591bc1 (patch) | |
tree | 6302a990c76236de61e6f19edf4542fe6e5096d2 | |
parent | 069e971295a34a810484b7b2ef54b3c735214181 (diff) |
feat(latex): support llf (#446)
* feat(latex): support llf
Signed-off-by: engeir <engeir@pm.me>
* Update llf.lua
---------
Signed-off-by: engeir <engeir@pm.me>
Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | doc/conform.txt | 1 | ||||
-rw-r--r-- | lua/conform/formatters/llf.lua | 9 |
3 files changed, 11 insertions, 0 deletions
@@ -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, +} |