Permalink
Browse files

Move folding settings.

  • Loading branch information...
1 parent 5b0ce95 commit ba4f4577869e7e79002cd0f32bc7855f0524fe21 @infininight infininight committed Nov 14, 2011
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Folding (HTML)</string>
+ <key>scope</key>
+ <string>text.blog.html</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|form|dl)\b.*?&gt;
+ |&lt;!--(?!.*--\s*&gt;)
+ |\{\{?(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|form|dl)&gt;
+ |^(?!.*?&lt;!--).*?--\s*&gt;
+ |\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
+ |^[^{]*\}
+ )</string>
+ </dict>
+ <key>uuid</key>
+ <string>EF0D28C3-6199-4379-B5C7-7E9C678C4005</string>
+</dict>
+</plist>
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Folding (Markdown)</string>
+ <key>scope</key>
+ <string>text.blog.markdown</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|form|dl)\b.*?&gt;
+ |&lt;!--(?!.*--&gt;)
+ |\{\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|form|dl)&gt;
+ |^\s*--&gt;
+ |(^|\s)\}
+ )</string>
+ </dict>
+ <key>uuid</key>
+ <string>3E820DE3-BAAC-4B77-BE9A-1663DFBFFC5E</string>
+</dict>
+</plist>
View
@@ -8,20 +8,6 @@
</array>
<key>firstLineMatch</key>
<string>^Type: Blog Post \(HTML\)</string>
- <key>foldingStartMarker</key>
- <string>(?x)
- (&lt;(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?&gt;
- |&lt;!--(?!.*--\s*&gt;)
- |\{\{?(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|form|dl)&gt;
- |^(?!.*?&lt;!--).*?--\s*&gt;
- |\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
- |^[^{]*\}
- )</string>
<key>keyEquivalent</key>
<string>^~B</string>
<key>name</key>
@@ -11,18 +11,6 @@
</array>
<key>firstLineMatch</key>
<string>^Type: Blog Post \(Markdown\)</string>
- <key>foldingStartMarker</key>
- <string>(?x)
- (&lt;(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?&gt;
- |&lt;!--(?!.*--&gt;)
- |\{\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|form|dl)&gt;
- |^\s*--&gt;
- |(^|\s)\}
- )</string>
<key>keyEquivalent</key>
<string>^~B</string>
<key>name</key>

0 comments on commit ba4f457

Please sign in to comment.