Skip to content
Browse files

Minor fix to graph highlighting so that version tags would get highli…

…ghted properly
  • Loading branch information...
1 parent 3a7ba04 commit 16c585a47184f053a4b5594d7a7aacadd4ccf290 @spadgos spadgos committed Oct 12, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 Git Graph.JSON-tmLanguage
  2. +1 −1 Git Graph.tmLanguage
View
2 Git Graph.JSON-tmLanguage
@@ -2,7 +2,7 @@
"scopeName": "text.git-graph",
"fileTypes": ["git-graph"],
"patterns": [
- { "match": "^([| *\\\\]+)([0-9a-f]{4,40}) (.*?) (\\d{4}-\\d\\d-\\d\\d \\d\\d:\\d\\d:\\d\\d [+-]\\d{4}) (?:\\(((?:[a-zA-Z0-9_\\-\\/]+(?:, )?)+)\\) )?",
+ { "match": "^([| *\\\\]+)([0-9a-f]{4,40}) (.*?) (\\d{4}-\\d\\d-\\d\\d \\d\\d:\\d\\d:\\d\\d [+-]\\d{4}) (?:\\(((?:[a-zA-Z0-9._\\-\\/]+(?:, )?)+)\\) )?",
"name": "log-entry.git-graph",
"captures": {
"1": {"name": "comment.git-graph" },
View
2 Git Graph.tmLanguage
@@ -40,7 +40,7 @@
</dict>
</dict>
<key>match</key>
- <string>^([| *\\]+)([0-9a-f]{4,40}) (.*?) (\d{4}-\d\d-\d\d \d\d:\d\d:\d\d [+-]\d{4}) (?:\(((?:[a-zA-Z0-9_\-\/]+(?:, )?)+)\) )?</string>
+ <string>^([| *\\]+)([0-9a-f]{4,40}) (.*?) (\d{4}-\d\d-\d\d \d\d:\d\d:\d\d [+-]\d{4}) (?:\(((?:[a-zA-Z0-9._\-\/]+(?:, )?)+)\) )?</string>
<key>name</key>
<string>log-entry.git-graph</string>
</dict>

0 comments on commit 16c585a

Please sign in to comment.
Something went wrong with that request. Please try again.