Permalink
Browse files

Move folding settings.

  • Loading branch information...
1 parent 00eca35 commit 61a959ccdc4d2893d82f90c4d580d4651084c039 @infininight infininight committed Nov 21, 2011
Showing with 22 additions and 0 deletions.
  1. +22 −0 Preferences/Qt C++ Folding.tmPreferences
@@ -0,0 +1,22 @@
+<?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>C++ Qt Folding</string>
+ <key>scope</key>
+ <string>source.c++.qt</string>
+ <key>settings</key>
+ <dict>
+ <key>foldingStartMarker</key>
+ <string>(?x)
+ /\*\*(?!\*)
+ |^(?![^{]*?//|[^{]*?/\*(?!.*?\*/.*?\{)).*?\{\s*($|//|/\*(?!.*?\*/.*\S))
+ </string>
+ <key>foldingStopMarker</key>
+ <string>(?&lt;!\*)\*\*/|^\s*\}</string>
+ </dict>
+ <key>uuid</key>
+ <string>D64B58B1-E356-4A9B-A3F5-7296B518A2B8</string>
+</dict>
+</plist>

0 comments on commit 61a959c

Please sign in to comment.