]> git.lizzy.rs Git - micro.git/commitdiff
Clarify regex for `git commit --verbose` (#1606)
authorNikita Bobko <20517828+nikitabobko@users.noreply.github.com>
Sun, 5 Apr 2020 18:04:36 +0000 (21:04 +0300)
committerGitHub <noreply@github.com>
Sun, 5 Apr 2020 18:04:36 +0000 (14:04 -0400)
runtime/syntax/git-commit.yaml

index d8c164792163fd2fd96580b18cee17224461c837..9f8ef0d9dfb077d6037bd0ff35d606b1d559693f 100644 (file)
@@ -26,7 +26,7 @@ rules:
 
     # Diffs (i.e. git commit --verbose)
     - default:
-        start: "^diff"
+        start: "^diff --git"
         # Diff output puts a space before file contents on each line so this
         # should never match valid diff output and extend highlighting to the
         # end of the file