diff --git a/rules/git.toml b/rules/git.toml index 1b9cd73..4cf6f3e 100644 --- a/rules/git.toml +++ b/rules/git.toml @@ -6,6 +6,10 @@ pattern = [ ] suggest = [ ''' +#[err_contains(the most similar command is)] +{{command[0]}} {{err::(?:the most similar command is )(\S+)}} ''', +''' +#[!err_contains(the most similar command is)] {{command[0]}} {{typo[1]( add, am,