diff --git a/lua/conform/formatters/autocorrect.lua b/lua/conform/formatters/autocorrect.lua new file mode 100644 index 00000000..b12e99ff --- /dev/null +++ b/lua/conform/formatters/autocorrect.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/huacnlee/autocorrect", + description = "A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK.", + }, + command = "autocorrect", + args = { "--stdin" }, + stdin = true, +}