Mercurial > vim
comparison runtime/syntax/objc.vim @ 20856:83cfa1ef1bf2
Update runtime files
Commit: https://github.com/vim/vim/commit/65e0d77a66b7e50beb562ad554ace46c32ef8f0f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 14 17:29:55 2020 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Jun 2020 17:45:04 +0200 |
parents | aea5ebf352c4 |
children | 11b656e74444 |
comparison
equal
deleted
inserted
replaced
20855:6390b8b611fb | 20856:83cfa1ef1bf2 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: Objective-C | 2 " Language: Objective-C |
3 " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@gmail.com> | 3 " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@gmail.com> |
4 " Last Change: 2015 Dec 14 | 4 " Last Change: 2020 Jun 07 |
5 " Last Change By Maintainer: 2015 Dec 14 | |
5 | 6 |
6 """ Preparation for loading ObjC stuff | 7 """ Preparation for loading ObjC stuff |
7 if exists("b:current_syntax") | 8 if exists("b:current_syntax") |
8 finish | 9 finish |
9 endif | 10 endif |
22 syn keyword objcPrincipalType id Class SEL IMP BOOL instancetype | 23 syn keyword objcPrincipalType id Class SEL IMP BOOL instancetype |
23 syn keyword objcUsefulTerm nil Nil NO YES | 24 syn keyword objcUsefulTerm nil Nil NO YES |
24 | 25 |
25 " Preprocessor Directives | 26 " Preprocessor Directives |
26 syn region objcImported display contained start=+"+ skip=+\\\\\|\\"+ end=+"+ | 27 syn region objcImported display contained start=+"+ skip=+\\\\\|\\"+ end=+"+ |
27 syn match objcImported display contained "\(<\h[-a-zA-Z0-9_/]*\.h>\|<[a-z0-9]\+>\)" | 28 syn match objcImported display contained "\(<\h[-+a-zA-Z0-9_/]*\.h>\|<[a-z0-9]\+>\)" |
28 syn match objcImport display "^\s*\(%:\|#\)\s*import\>\s*["<]" contains=objcImported | 29 syn match objcImport display "^\s*\(%:\|#\)\s*import\>\s*["<]" contains=objcImported |
29 | 30 |
30 " ObjC Compiler Directives | 31 " ObjC Compiler Directives |
31 syn match objcObjDef display /@interface\>\|@implementation\>\|@end\>\|@class\>/ | 32 syn match objcObjDef display /@interface\>\|@implementation\>\|@end\>\|@class\>/ |
32 syn match objcProtocol display /@protocol\>\|@optional\>\|@required\>/ | 33 syn match objcProtocol display /@protocol\>\|@optional\>\|@required\>/ |