Skip to content

Commit

Permalink
Move folding settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
infininight committed Nov 14, 2011
1 parent 1770b54 commit 520cd21
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 12 deletions.
27 changes: 27 additions & 0 deletions 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>
12 changes: 0 additions & 12 deletions Syntaxes/HTML (Erlang).tmLanguage
Expand Up @@ -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>
Expand Down

0 comments on commit 520cd21

Please sign in to comment.