diff --git a/rules/git.toml b/rules/git.toml index 40f1d78..d44887e 100644 --- a/rules/git.toml +++ b/rules/git.toml @@ -7,7 +7,7 @@ pattern = [ suggest = [ ''' #[err_contains(the most similar command is)] -{{command[0]}} {{err::(?:the most similar command is )(\S+)}} ''', +{{command[0]}} {{err::(?:the most similar command is )(\S+)}} {{command[2:]}}''', ''' #[!err_contains(the most similar command is)] {{command[0]}} {{typo[1](