diff options
author | ctrlaltca <> | 2012-11-08 08:37:25 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-11-08 08:37:25 +0000 |
commit | 53fa36d3c636a9ac757f64d8df8e80a68009178a (patch) | |
tree | 04a3c860e1d74c60912234a2e86b6ac834d3c70f | |
parent | 07fd9b44bc5c0b60f90baf9917e492072950f5e5 (diff) |
textmate/sublime syntax highlight: support for prado's triple-dash comment <!--- --->
-rw-r--r-- | editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage | 4 |
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) (</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)> - |^(?!.*?<!--).*?--\s*> + |^(?!.*?<!--).*?---?\s*> |^<!--\ end\ tminclude\ -->$ |<\?(?: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*></string> + <string>---?\s*></string> <key>name</key> <string>comment.block.html</string> <key>patterns</key> |