Permalink
Browse files

Move folding settings.

  • Loading branch information...
1 parent fa4b1c4 commit 87ae0ff2e52a2ee21571eee5b3d32f7946b51711 @infininight infininight committed Nov 21, 2011
Showing with 27 additions and 12 deletions.
  1. +27 −0 Preferences/Folding.tmPreferences
  2. +0 −12 Syntaxes/S5.tmLanguage
View
27 Preferences/Folding.tmPreferences
@@ -0,0 +1,27 @@
+<?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>source.s5</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>55763113-D969-45FC-B7A6-21BF858A51B4</string>
+</dict>
+</plist>
View
12 Syntaxes/S5.tmLanguage
@@ -6,18 +6,6 @@
<array>
<string>s5</string>
</array>
- <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>^~S</string>
<key>name</key>

0 comments on commit 87ae0ff

Please sign in to comment.