aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform')
-rw-r--r--lua/conform/formatters/autocorrect.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/autocorrect.lua b/lua/conform/formatters/autocorrect.lua
new file mode 100644
index 0000000..b12e99f
--- /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,
+}