Skip to content

Commit

Permalink
Add matches for git header and index lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
infininight committed Jan 15, 2013
1 parent 9e791ac commit 61ec837
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Syntaxes/Diff.plist
Expand Up @@ -97,6 +97,12 @@
<key>name</key>
<string>meta.diff.range.context</string>
</dict>
<dict>
<key>match</key>
<string>^diff --git a/.*$\n?</string>
<key>name</key>
<string>meta.diff.header.git</string>
</dict>
<dict>
<key>captures</key>
<dict>
Expand Down Expand Up @@ -197,6 +203,12 @@
<key>name</key>
<string>markup.deleted.diff</string>
</dict>
<dict>
<key>match</key>
<string>^index [0-9a-f]{7}\.\.[0-9a-f]{7}.*$\n?</string>
<key>name</key>
<string>meta.diff.index.git</string>
</dict>
<dict>
<key>captures</key>
<dict>
Expand Down

0 comments on commit 61ec837

Please sign in to comment.