X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fsyntax%2Fgit-commit.yaml;h=9f8ef0d9dfb077d6037bd0ff35d606b1d559693f;hb=54c23cae72d7237bc898a59f79aad0acffdf0ffe;hp=d8c164792163fd2fd96580b18cee17224461c837;hpb=b0c50d371fc8f3791a5e44310fe2a3e8c8c396d2;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