Skip to content
Browse files

syntax to highlight plan ref tags

git-svn-id: http://svn.textmate.org/trunk/Bundles/Mediawiki.tmbundle@12057 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent e89e4a9 commit ed1648faed9a2b822e78bf288494abec409c6f10 Timothy Bates committed with infininight Sep 15, 2011
Showing with 31 additions and 3 deletions.
  1. +31 −3 Syntaxes/Mediawiki.tmLanguage
View
34 Syntaxes/Mediawiki.tmLanguage
@@ -355,19 +355,47 @@
</dict>
<dict>
<key>begin</key>
- <string>(&lt;ref&gt;)</string>
- <key>captures</key>
+ <string>(&lt;)(ref)(&gt;)</string>
+ <key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>meta.tag.inline.ref.mediawiki</string>
</dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.ref.mediawiki</string>
+ </dict>
+ <key>3</key>
+ <dict>
+ <key>name</key>
+ <string>meta.tag.inline.ref.mediawiki</string>
+ </dict>
</dict>
<key>contentName</key>
<string>meta.reference.content.mediawiki</string>
<key>end</key>
- <string>(&lt;/ref&gt;)</string>
+ <string>(&lt;/)(ref)(&gt;)</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>meta.tag.inline.ref.mediawiki</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.ref.mediawiki</string>
+ </dict>
+ <key>3</key>
+ <dict>
+ <key>name</key>
+ <string>meta.tag.inline.ref.mediawiki</string>
+ </dict>
+ </dict>
<key>patterns</key>
<array>
<dict>

0 comments on commit ed1648f

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