Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ You can view this list in vim with `:help conform-formatters`
- [injected](doc/advanced_topics.md#injected-language-formatting-code-blocks) - Format treesitter injected languages.
- [inko](https://inko-lang.org/) - A language for building concurrent software with confidence
- [isort](https://github.com/PyCQA/isort) - Python utility / library to sort imports alphabetically and automatically separate them into sections and by type.
- [jack-format](https://github.com/muaviz/jack-format) - An opinionated code formatter for the Jack programming language (Nand2Tetris).
- [janet-format](https://github.com/janet-lang/spork) - A formatter for Janet code.
- [joker](https://github.com/candid82/joker) - Small Clojure interpreter, linter and formatter.
- [jq](https://github.com/stedolan/jq) - Command-line JSON processor.
Expand Down
1 change: 1 addition & 0 deletions doc/conform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ FORMATTERS *conform-formatter
`inko` - A language for building concurrent software with confidence
`isort` - Python utility / library to sort imports alphabetically and
automatically separate them into sections and by type.
`jack-format` - An opinionated code formatter for the Jack programming language (Nand2Tetris).
`janet-format` - A formatter for Janet code.
`joker` - Small Clojure interpreter, linter and formatter.
`jq` - Command-line JSON processor.
Expand Down
9 changes: 9 additions & 0 deletions lua/conform/formatters/jack-format.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/muaviz/jack-format",
description = "An opinionated code formatter for the Jack programming language (Nand2Tetris).",
},
command = "jack-format",
stdin = true,
}
Loading