From 9a03981e2ee3a355c4927bad3977a9d28617ff86 Mon Sep 17 00:00:00 2001 From: iff Date: Thu, 2 Jan 2025 16:23:38 +0100 Subject: [PATCH] fix: git rule --- rules/git.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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](