aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--lua/conform/formatters/fnlfmt.lua9
2 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index e6615e6..f320b23 100644
--- a/README.md
+++ b/README.md
@@ -210,6 +210,7 @@ You can view this list in vim with `:help conform-formatters`
- [eslint_d](https://github.com/mantoni/eslint_d.js/) - Like ESLint, but faster.
- [fish_indent](https://fishshell.com/docs/current/cmds/fish_indent.html) - Indent or otherwise prettify a piece of fish code.
- [fixjson](https://github.com/rhysd/fixjson) - JSON Fixer for Humans using (relaxed) JSON5.
+- [fnlfmt](https://git.sr.ht/~technomancy/fnlfmt) - A formatter for Fennel code.
- [fourmolu](https://hackage.haskell.org/package/fourmolu) - Fourmolu is a formatter for Haskell source code.
- [gci](https://github.com/daixiang0/gci) - GCI, a tool that controls Go package import order and makes it always deterministic.
- [gdformat](https://github.com/Scony/godot-gdscript-toolkit) - A formatter for Godot's gdscript.
diff --git a/lua/conform/formatters/fnlfmt.lua b/lua/conform/formatters/fnlfmt.lua
new file mode 100644
index 0000000..3cc03b8
--- /dev/null
+++ b/lua/conform/formatters/fnlfmt.lua
@@ -0,0 +1,9 @@
+--@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://git.sr.ht/~technomancy/fnlfmt",
+ description = "A formatter for Fennel code.",
+ },
+ command = "fnlfmt",
+ args = { "-" },
+}