diff options
author | Mads Hougesen <mads@mhouge.dk> | 2024-06-24 13:08:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 07:08:43 -0400 |
commit | 7394d4989cd08ddb72e526c43afae7dd3111d553 (patch) | |
tree | f42f30333577b7454682b07c7adcff95885fc2ca /lua/conform/formatters | |
parent | c35f52b04e4436d5525102b2d61150679c967100 (diff) |
feat: support crlfmt (#470)
Diffstat (limited to 'lua/conform/formatters')
-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, +} |