Permalink
Browse files

Don’t fold @protocol forward declarations

  • Loading branch information...
1 parent ada11d7 commit e3d6d5f4de43b69f4d4ae79a4cba6ddc60a7753c @sorbits sorbits committed Sep 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Preferences/Folding.tmPreferences
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>
@@ -12,7 +12,7 @@
<string>(?x)
/\*\*(?!\*)
|^(?![^{]*?//|[^{]*?/\*(?!.*?\*/.*?\{)).*?\{\s*($|//|/\*(?!.*?\*/.*\S))
- |^@(interface|protocol|implementation)\b
+ |^@(interface|protocol|implementation)\b (?!.*;)
</string>
<key>foldingStopMarker</key>
<string>(?&lt;!\*)\*\*/|^\s*\}|^@end\b</string>

0 comments on commit e3d6d5f

Please sign in to comment.