Skip to content

Commit

Permalink
Move folding settings into settings items
Browse files Browse the repository at this point in the history
  • Loading branch information
infininight committed Jan 28, 2016
1 parent b3f557f commit f94ef53
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 12 deletions.
19 changes: 19 additions & 0 deletions Preferences/Folding - Actionscript.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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: Actionscript</string>
<key>scope</key>
<string>source.actionscript.3</string>
<key>settings</key>
<dict>
<key>foldingStartMarker</key>
<string>\{\s*$</string>
<key>foldingStopMarker</key>
<string>^\s*\}</string>
</dict>
<key>uuid</key>
<string>124C2706-9E19-4AF0-AB93-6EA95C5CC1FD</string>
</dict>
</plist>
19 changes: 19 additions & 0 deletions Preferences/Folding - AsDoc.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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: AsDoc</string>
<key>scope</key>
<string>text.html.asdoc</string>
<key>settings</key>
<dict>
<key>foldingStartMarker</key>
<string>/\*\*</string>
<key>foldingStopMarker</key>
<string>\*/</string>
</dict>
<key>uuid</key>
<string>85AAB98D-6577-4596-92F7-61E0EF4A5E8C</string>
</dict>
</plist>
19 changes: 19 additions & 0 deletions Preferences/Folding - Flex Config.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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: Flex Config</string>
<key>scope</key>
<string>text.xml.flex-config</string>
<key>settings</key>
<dict>
<key>foldingStartMarker</key>
<string>^\s*(&lt;[^!?%/](?!.+?(/&gt;|&lt;/.+?&gt;))|&lt;[!%]--(?!.+?--%?&gt;)|&lt;%[!]?(?!.+?%&gt;))</string>
<key>foldingStopMarker</key>
<string>^\s*(&lt;/[^&gt;]+&gt;|[/%]&gt;|--&gt;)\s*$</string>
</dict>
<key>uuid</key>
<string>D07CEE44-435E-4CAD-8659-B6B5E49B2AC6</string>
</dict>
</plist>
4 changes: 0 additions & 4 deletions Syntaxes/ActionScript 3.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
</array>
<key>firstLineMatch</key>
<string>\bAS3\b</string>
<key>foldingStartMarker</key>
<string>\{\s*$</string>
<key>foldingStopMarker</key>
<string>^\s*\}</string>
<key>keyEquivalent</key>
<string>^~A</string>
<key>name</key>
Expand Down
4 changes: 0 additions & 4 deletions Syntaxes/AsDoc.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<array>
<string>asdoc</string>
</array>
<key>foldingStartMarker</key>
<string>/\*\*</string>
<key>foldingStopMarker</key>
<string>\*/</string>
<key>name</key>
<string>AsDoc</string>
<key>patterns</key>
Expand Down
4 changes: 0 additions & 4 deletions Syntaxes/Flex Config.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
Please post to the TM list if you spot anything thats missing.</string>
<key>firstLineMatch</key>
<string>flex-config</string>
<key>foldingStartMarker</key>
<string>^\s*(&lt;[^!?%/](?!.+?(/&gt;|&lt;/.+?&gt;))|&lt;[!%]--(?!.+?--%?&gt;)|&lt;%[!]?(?!.+?%&gt;))</string>
<key>foldingStopMarker</key>
<string>^\s*(&lt;/[^&gt;]+&gt;|[/%]&gt;|--&gt;)\s*$</string>
<key>keyEquivalent</key>
<string>^~X</string>
<key>name</key>
Expand Down

0 comments on commit f94ef53

Please sign in to comment.