diff options
-rw-r--r-- | lua/conform/formatters/crlfmt.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/crlfmt.lua b/lua/conform/formatters/crlfmt.lua new file mode 100644 index 0000000..93600f1 --- /dev/null +++ b/lua/conform/formatters/crlfmt.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/cockroachdb/crlfmt", + description = "Formatter for CockroachDB's additions to the Go style guide.", + }, + command = "crlfmt", + args = { "-w", "$FILENAME" }, + stdin = false, +} |