X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fsyntax%2Fgit-commit.yaml;h=9f8ef0d9dfb077d6037bd0ff35d606b1d559693f;hb=54c23cae72d7237bc898a59f79aad0acffdf0ffe;hp=d8c164792163fd2fd96580b18cee17224461c837;hpb=6957e83cdbb57e590709a0392d5854aed00206ea;p=micro.git diff --git a/runtime/syntax/git-commit.yaml b/runtime/syntax/git-commit.yaml index d8c16479..9f8ef0d9 100644 --- a/runtime/syntax/git-commit.yaml +++ b/runtime/syntax/git-commit.yaml @@ -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