Browse files

Move folding settings.

  • Loading branch information...
1 parent 6c764bd commit 887d5f26ff828b14cedd979f0019f2ffeead9ac4 @infininight infininight committed Nov 21, 2011
Showing with 35 additions and 40 deletions.
  1. +35 −0 Preferences/Folding.tmPreferences
  2. +0 −20 Syntaxes/Movable Type (MT only).tmLanguage
  3. +0 −20 Syntaxes/Movable Type.plist
View
35 Preferences/Folding.tmPreferences
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Folding</string>
+ <key>scope</key>
+ <string>text.html.mt</string>
+ <key>settings</key>
+ <dict>
+ <key>foldingStartMarker</key>
+ <string>(?x)
+ (&lt;(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?&gt;
+ |&lt;(?i:MT:?(?!Else))(\w+:)?\w+\b.*?&gt;
+ |&lt;!--(?!.*--\s*&gt;)
+ |^&lt;!--\ \#tminclude\ (?&gt;.*?--&gt;)$
+ |&lt;\?(?:php)?.*\b(if|for(each)?|while)\b.+:
+ |\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
+ |\{\s*($|\?&gt;\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
+ )</string>
+ <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;\/(?i:MT:?(?!Else))(\w+:)?\w+\b.*?&gt;
+ |^(?!.*?&lt;!--).*?--\s*&gt;
+ |^&lt;!--\ end\ tminclude\ --&gt;$
+ |&lt;\?(?:php)?.*\bend(if|for(each)?|while)\b
+ |\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
+ |^[^{]*\}
+ )</string>
+ </dict>
+ <key>uuid</key>
+ <string>167A894A-70B8-45F7-8E1D-9463722DC6A0</string>
+</dict>
+</plist>
View
20 Syntaxes/Movable Type (MT only).tmLanguage
@@ -8,26 +8,6 @@
</array>
<key>firstLineMatch</key>
<string>&lt;\$?[Mm][Tt]</string>
- <key>foldingStartMarker</key>
- <string>(?x)
- (&lt;(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?&gt;
- |&lt;(?i:MT:?(?!Else))(\w+:)?\w+\b.*?&gt;
- |&lt;!--(?!.*--\s*&gt;)
- |^&lt;!--\ \#tminclude\ (?&gt;.*?--&gt;)$
- |&lt;\?(?:php)?.*\b(if|for(each)?|while)\b.+:
- |\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
- |\{\s*($|\?&gt;\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
- )</string>
- <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;\/(?i:MT:?(?!Else))(\w+:)?\w+\b.*?&gt;
- |^(?!.*?&lt;!--).*?--\s*&gt;
- |^&lt;!--\ end\ tminclude\ --&gt;$
- |&lt;\?(?:php)?.*\bend(if|for(each)?|while)\b
- |\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
- |^[^{]*\}
- )</string>
<key>keyEquivalent</key>
<string>^~M</string>
<key>name</key>
View
20 Syntaxes/Movable Type.plist
@@ -8,26 +8,6 @@
</array>
<key>firstLineMatch</key>
<string>&lt;\$?[Mm][Tt]</string>
- <key>foldingStartMarker</key>
- <string>(?x)
- (&lt;(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?&gt;
- |&lt;(?i:MT:?(?!Else))(\w+:)?\w+\b.*?&gt;
- |&lt;!--(?!.*--\s*&gt;)
- |^&lt;!--\ \#tminclude\ (?&gt;.*?--&gt;)$
- |&lt;\?(?:php)?.*\b(if|for(each)?|while)\b.+:
- |\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
- |\{\s*($|\?&gt;\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
- )</string>
- <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;\/(?i:MT:?(?!Else))(\w+:)?\w+\b.*?&gt;
- |^(?!.*?&lt;!--).*?--\s*&gt;
- |^&lt;!--\ end\ tminclude\ --&gt;$
- |&lt;\?(?:php)?.*\bend(if|for(each)?|while)\b
- |\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
- |^[^{]*\}
- )</string>
<key>keyEquivalent</key>
<string>^~M</string>
<key>name</key>

0 comments on commit 887d5f2

Please sign in to comment.