Permalink
Browse files

Adding new language keywords.

Adding the new Objective-C storage type "instancetype" as well as the
property attributes "strong" and "weak".
  • Loading branch information...
1 parent d09aaaf commit 3644e7200c8e99c52a120c8542241de684830a27 @huebs huebs committed May 1, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Syntaxes/Objective-C.tmLanguage
@@ -248,7 +248,7 @@
</dict>
<dict>
<key>match</key>
- <string>\b(IBOutlet|IBAction|BOOL|SEL|id|unichar|IMP|Class)\b</string>
+ <string>\b(IBOutlet|IBAction|BOOL|SEL|id|unichar|IMP|Class|instancetype)\b</string>
<key>name</key>
<string>storage.type.objc</string>
</dict>
@@ -1440,7 +1440,7 @@
<array>
<dict>
<key>match</key>
- <string>\b(getter|setter|readonly|readwrite|assign|retain|copy|nonatomic)\b</string>
+ <string>\b(getter|setter|readonly|readwrite|assign|retain|copy|nonatomic|strong|weak)\b</string>
<key>name</key>
<string>keyword.other.property.attribute</string>
</dict>

0 comments on commit 3644e72

Please sign in to comment.