Skip to content

Commit

Permalink
Added match support for _ in tmpl's
Browse files Browse the repository at this point in the history
  • Loading branch information
onionhammer committed Apr 6, 2014
1 parent 070c9fa commit fb6da3a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions nimrod.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ patterns:
'1': {name: plain}
patterns:
- {include: source.nimrod}
- match: (?<!\$)(\$[a-zA-Z0-9]+)
- match: (?<!\$)(\$[a-zA-Z0-9_]+)
name: keyword.operator.nimrod
- {include: text.xml}

Expand Down Expand Up @@ -232,7 +232,7 @@ patterns:
'1': {name: plain}
patterns:
- {include: source.nimrod}
- match: (?<!\$)(\$[a-zA-Z0-9]+)
- match: (?<!\$)(\$[a-zA-Z0-9_]+)
name: keyword.operator.nimrod
- {include: text.xml}

Expand Down Expand Up @@ -268,7 +268,7 @@ patterns:
'1': {name: plain}
patterns:
- {include: source.nimrod}
- match: (?<!\$)(\$[a-zA-Z0-9]+)
- match: (?<!\$)(\$[a-zA-Z0-9_]+)
name: keyword.operator.nimrod
- {include: source.js}

Expand Down Expand Up @@ -304,7 +304,7 @@ patterns:
'1': {name: plain}
patterns:
- {include: source.nimrod}
- match: (?<!\$)(\$[a-zA-Z0-9]+)
- match: (?<!\$)(\$[a-zA-Z0-9_]+)
name: keyword.operator.nimrod
- {include: source.css}

Expand Down Expand Up @@ -340,7 +340,7 @@ patterns:
'1': {name: plain}
patterns:
- {include: source.nimrod}
- match: (?<!\$)(\$[a-zA-Z0-9]+)
- match: (?<!\$)(\$[a-zA-Z0-9_]+)
name: keyword.operator.nimrod
- {include: source.glsl}

Expand Down
10 changes: 5 additions & 5 deletions nimrod.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@
</dict>
<dict>
<key>match</key>
<string>(?&lt;!\$)(\$[a-zA-Z0-9]+)</string>
<string>(?&lt;!\$)(\$[a-zA-Z0-9_]+)</string>
<key>name</key>
<string>keyword.operator.nimrod</string>
</dict>
Expand Down Expand Up @@ -650,7 +650,7 @@
</dict>
<dict>
<key>match</key>
<string>(?&lt;!\$)(\$[a-zA-Z0-9]+)</string>
<string>(?&lt;!\$)(\$[a-zA-Z0-9_]+)</string>
<key>name</key>
<string>keyword.operator.nimrod</string>
</dict>
Expand Down Expand Up @@ -778,7 +778,7 @@
</dict>
<dict>
<key>match</key>
<string>(?&lt;!\$)(\$[a-zA-Z0-9]+)</string>
<string>(?&lt;!\$)(\$[a-zA-Z0-9_]+)</string>
<key>name</key>
<string>keyword.operator.nimrod</string>
</dict>
Expand Down Expand Up @@ -906,7 +906,7 @@
</dict>
<dict>
<key>match</key>
<string>(?&lt;!\$)(\$[a-zA-Z0-9]+)</string>
<string>(?&lt;!\$)(\$[a-zA-Z0-9_]+)</string>
<key>name</key>
<string>keyword.operator.nimrod</string>
</dict>
Expand Down Expand Up @@ -1034,7 +1034,7 @@
</dict>
<dict>
<key>match</key>
<string>(?&lt;!\$)(\$[a-zA-Z0-9]+)</string>
<string>(?&lt;!\$)(\$[a-zA-Z0-9_]+)</string>
<key>name</key>
<string>keyword.operator.nimrod</string>
</dict>
Expand Down

0 comments on commit fb6da3a

Please sign in to comment.