Permalink
Browse files

Add folding of double-bracketed blocks.

	{{
		example
	}}

Also add comments to folding rules for added clarity.
  • Loading branch information...
1 parent ab188df commit 56b4f16a9cbd43e46de94e0bf0de548088b97208 @tbates tbates committed with infininight Dec 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Preferences/Folding.tmPreferences
@@ -13,9 +13,9 @@
<key>foldingIndentedBlockStart</key>
<string>^=+</string>
<key>foldingStartMarker</key>
- <string>&lt;[^/]|{\|</string>
+ <string>^\{\{[^\}]*$|&lt;(?!/|br)$|{\|(?# fold on tags, pipe, {{)</string>
<key>foldingStopMarker</key>
- <string>&lt;/|\|}</string>
+ <string>\}\}|\|}|&lt;/(?# stop fold on tag close, and } &lt;/)</string>
</dict>
<key>uuid</key>
<string>4A4ECABE-1F4E-4933-8B40-7DF02FD73B6B</string>

0 comments on commit 56b4f16

Please sign in to comment.