Skip to content

Commit

Permalink
fixed colorizer language grammar conventions for support in vscode 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ANDREW M. TRICE committed Feb 2, 2017
1 parent d382780 commit 9fa2251
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/syntaxes/log.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,35 @@
<key>match</key>
<string>"(.*?)"</string>
<key>name</key>
<string>token.string</string>
<string>string.quoted</string>
</dict>
<dict>
<!-- Quoted strings with ' -->
<key>match</key>
<string>'(.*?)'</string>
<key>name</key>
<string>token.string</string>
<string>string.quoted</string>
</dict>
<dict>
<!-- GUID -->
<key>match</key>
<string>\b(?i:([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}))\b</string>
<key>name</key>
<string>info-token</string>
<string>support.class</string>
</dict>
<dict>
<!-- email address -->
<key>match</key>
<string>\S+@\S+\.\S+</string>
<key>name</key>
<string>info-token</string>
<string>markup.bold</string>
</dict>
<dict>
<!-- Exception (with custom naming and namespacing) -->
<key>match</key>
<string>\b(?i:((([a-z]|[0-9])*\.)*[a-z]|[0-9])*(Exception|Error|Failure|Fail))\b</string>
<key>name</key>
<string>error-token</string>
<string>invalid</string>
</dict>
<dict>
<!-- Date MM/DD/(YY)YY -->
Expand Down Expand Up @@ -94,31 +94,31 @@
<key>match</key>
<string>\b(?i:(([a-z]|[0-9])*(\.([a-z]|[0-9])*)+))\b</string>
<key>name</key>
<string>info-token</string>
<string>support.type</string>
</dict>
<dict>
<key>match</key>
<string>\b(?i:(Down|Error|Failure|Fail|Fatal|false))(\:|\b)</string>
<key>name</key>
<string>error-token</string>
<string>invalid.illegal</string>
</dict>
<dict>
<key>match</key>
<string>\b(?i:(hint|info|information|true))(\:|\b)</string>
<key>name</key>
<string>info-token</string>
<string>keyword</string>
</dict>
<dict>
<key>match</key>
<string>\b(?i:(warning|warn|test|debug|null|undefined))(\:|\b)</string>
<string>\b(?i:(warning|warn|test|debug|null|undefined|NaN))(\:|\b)</string>
<key>name</key>
<string>warn-token</string>
<string>invalid.deprecated</string>
</dict>
<dict>
<key>match</key>
<string>\b(?i:(local))(\:|\b)</string>
<key>name</key>
<string>info-token</string>
<string>support.function</string>
</dict>
<dict>
<key>match</key>
Expand All @@ -131,7 +131,7 @@
<key>match</key>
<string>\b(?i:([a-z]|[0-9])+\:((\/\/)|((\/\/)?(\S)))+)</string>
<key>name</key>
<string>info-token</string>
<string>storage</string>
</dict>
<dict>
<!-- output from (npm install) log -->
Expand Down

0 comments on commit 9fa2251

Please sign in to comment.