diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | lua/conform/formatters/joker.lua | 9 |
2 files changed, 10 insertions, 0 deletions
@@ -224,6 +224,7 @@ You can view this list in vim with `:help conform-formatters` - [indent](https://www.gnu.org/software/indent/) - GNU Indent. - [injected](doc/advanced_topics.md#injected-language-formatting-code-blocks) - Format treesitter injected languages. - [isort](https://github.com/PyCQA/isort) - Python utility / library to sort imports alphabetically and automatically separate them into sections and by type. +- [joker](https://github.com/candid82/joker) - Small Clojure interpreter, linter and formatter. - [jq](https://github.com/stedolan/jq) - Command-line JSON processor. - [jsonnetfmt](https://github.com/google/go-jsonnet/tree/master/cmd/jsonnetfmt) - jsonnetfmt is a command line tool to format jsonnet files. - [just](https://github.com/casey/just) - Format Justfile. diff --git a/lua/conform/formatters/joker.lua b/lua/conform/formatters/joker.lua new file mode 100644 index 0000000..c87f417 --- /dev/null +++ b/lua/conform/formatters/joker.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/candid82/joker", + description = "Small Clojure interpreter, linter and formatter.", + }, + command = "joker", + args = { "--format", "--write", "-" }, +} |