aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--lua/conform/formatters/joker.lua9
2 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1b12a17..e6615e6 100644
--- a/README.md
+++ b/README.md
@@ -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", "-" },
+}