Skip to content
Browse files

Move folding settings.

  • Loading branch information...
1 parent 1770b54 commit 520cd21d8b46b63100aeee0e95e20b1701f44b89 @infininight infininight committed
Showing with 27 additions and 12 deletions.
  1. +27 −0 Preferences/Folding - HTML.tmPreferences
  2. +0 −12 Syntaxes/HTML (Erlang).tmLanguage
View
27 Preferences/Folding - HTML.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 (HTML)</string>
+ <key>scope</key>
+ <string>text.html.erlang.yaws</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|erl)\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|erl)&gt;
+ |^\s*--&gt;
+ |(^|\s)\}
+ )</string>
+ </dict>
+ <key>uuid</key>
+ <string>D6B9916A-582A-4581-82C3-D6064E736C0E</string>
+</dict>
+</plist>
View
12 Syntaxes/HTML (Erlang).tmLanguage
@@ -6,18 +6,6 @@
<array>
<string>yaws</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|erl)\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|erl)&gt;
- |^\s*--&gt;
- |(^|\s)\}
- )</string>
<key>keyEquivalent</key>
<string>^~E</string>
<key>name</key>

0 comments on commit 520cd21

Please sign in to comment.
Something went wrong with that request. Please try again.