Created
October 25, 2012 14:47
-
-
Save crgwbr/3953001 to your computer and use it in GitHub Desktop.
SilverStripe HTML Templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add this block to HTML/HTML.tmLanguage in SublimeText 2's package directory to make it recognize SilverStripe style HTML comments --> | |
<dict> | |
<key>begin</key> | |
<string><%--</string> | |
<key>captures</key> | |
<dict> | |
<key>0</key> | |
<dict> | |
<key>name</key> | |
<string>punctuation.definition.comment.html</string> | |
</dict> | |
</dict> | |
<key>end</key> | |
<string>--%></string> | |
<key>name</key> | |
<string>comment.block.html</string> | |
<key>patterns</key> | |
<array> | |
<dict> | |
<key>match</key> | |
<string>--</string> | |
<key>name</key> | |
<string>invalid.illegal.bad-comments-or-CDATA.html</string> | |
</dict> | |
<dict> | |
<key>match</key> | |
<string>%></string> | |
<key>name</key> | |
<string>invalid.illegal.bad-comments-or-CDATA.html</string> | |
</dict> | |
<dict> | |
<key>include</key> | |
<string>#embedded-code</string> | |
</dict> | |
</array> | |
</dict> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment