summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage
diff options
context:
space:
mode:
authorctrlaltca <>2012-11-08 08:37:25 +0000
committerctrlaltca <>2012-11-08 08:37:25 +0000
commit53fa36d3c636a9ac757f64d8df8e80a68009178a (patch)
tree04a3c860e1d74c60912234a2e86b6ac834d3c70f /editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage
parent07fd9b44bc5c0b60f90baf9917e492072950f5e5 (diff)
textmate/sublime syntax highlight: support for prado's triple-dash comment <!--- --->
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage')
-rw-r--r--editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage b/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage
index d11654ea..38ecb7f8 100644
--- a/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage
+++ b/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage
@@ -24,7 +24,7 @@
<key>foldingStopMarker</key>
<string>(?x)
(&lt;/(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)&gt;
- |^(?!.*?&lt;!--).*?--\s*&gt;
+ |^(?!.*?&lt;!--).*?---?\s*&gt;
|^&lt;!--\ end\ tminclude\ --&gt;$
|&lt;\?(?:php)?.*\bend(if|for(each)?|while)\b
|\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
@@ -268,7 +268,7 @@
</dict>
</dict>
<key>end</key>
- <string>--\s*&gt;</string>
+ <string>---?\s*&gt;</string>
<key>name</key>
<string>comment.block.html</string>
<key>patterns</key>