Skip to content

Commit

Permalink
feat: add autocorrect (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
z775729168 committed Dec 4, 2023
1 parent e8ac7f1 commit cd81d21
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lua/conform/formatters/autocorrect.lua
Original file line number Diff line number Diff line change
@@ -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,
}

0 comments on commit cd81d21

Please sign in to comment.