diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-02-20 21:26:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-02-20 21:26:00 +0100 |
commit | 26402cb2de73a82821d7b2becc8d27be1c48fef3 (patch) | |
tree | d1e4735ab3da05b19f7f4aeef1b4abfc22934ac4 /runtime/syntax | |
parent | 63dbda1caa88042c88d46ad139c99def2e8b80ca (diff) |
Update runtime files.
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/objc.vim | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/syntax/objc.vim b/runtime/syntax/objc.vim index 8829b4939c..665a47a27d 100644 --- a/runtime/syntax/objc.vim +++ b/runtime/syntax/objc.vim @@ -3,7 +3,10 @@ " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com> " Ex-maintainer: Anthony Hodsdon <ahodsdon@fastmail.fm> " First Author: Valentino Kyriakides <1kyriaki@informatik.uni-hamburg.de> -" Last Change: 2012 Apr 30 +" Last Change: 2013 Feb 20 +" +" 2013 Feb 19 Revised based on a patch sent to the maintainer by +" Christos Kontas <xakon@yahoo.com> on 2012 Dec 12. " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded @@ -48,6 +51,11 @@ syn match objcDirective "@class\|@end\|@defs" syn match objcDirective "@encode\|@protocol\|@selector" syn match objcDirective "@try\|@catch\|@finally\|@throw\|@synchronized" + " New directives introduced with Objc-2.0 +syn match objcDirective "@property\|@synthesize\|@dynamic" +syn match objcDirective "@optional\|@required" +syn match objcDirective "@autoreleasepool" + " Match the ObjC method types " " NOTE: here I match only the indicators, this looks |