Skip to content

Commit

Permalink
feat: add fnlfmt formatter (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
tranzystorekk committed Dec 11, 2023
1 parent 0ec6edd commit af6643a
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 @@ -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.
Expand Down
9 changes: 9 additions & 0 deletions lua/conform/formatters/fnlfmt.lua
Original file line number Diff line number Diff line change
@@ -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 = { "-" },
}

0 comments on commit af6643a

Please sign in to comment.