annotate runtime/syntax/objc.vim @ 4869:a5352e73dc00

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Wed, 12 Jun 2013 21:29:15 +0200
parents 8b86b69546a9
children 78c318784090
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
2 " Language: Objective-C
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
3 " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
4 " Last Change: 2013 Jun 12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
5 " Remark: Modern Objective-C Edition
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
7 """ Preparation for loading ObjC stuff
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
8 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 endif
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
11 if &filetype != 'objcpp'
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
12 syn clear
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
13 runtime! syntax/c.vim
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
14 endif
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
15 let s:cpo_save = &cpo
3496
d1e4abe8342c Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
16 set cpo&vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
18 """ ObjC proper stuff follows...
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
19
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
20 syn keyword objcPreProcMacro __OBJC__ __OBJC2__ __clang__
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
22 " Defined Types
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
23 syn keyword objcPrincipalType id Class SEL IMP BOOL
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
24 syn keyword objcUsefulTerm nil Nil NO YES
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
26 " Preprocessor Directives
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
27 syn region objcImported display contained start=+"+ skip=+\\\\\|\\"+ end=+"+
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
28 syn match objcImported display contained "<[^>]*>"
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
29 syn match objcImport display "^\s*\(%:\|#\)\s*import\>\s*["<]" contains=objcImported
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
31 " ObjC Compiler Directives
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
32 syn match objcObjDef display /@interface\>\|@implementation\>\|@end\>\|@class\>/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
33 syn match objcProtocol display /@protocol\>\|@optional\>\|@required\>/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
34 syn match objcProperty display /@property\>\|@synthesize\>\|@dynamic\>/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
35 syn match objcIvarScope display /@private\>\|@protected\>\|@public\>/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
36 syn match objcInternalRep display /@selector\>\|@encode\>/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
37 syn match objcException display /@try\>\|@throw\>\|@catch\|@finally\>/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
38 syn match objcThread display /@synchronized\>/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
39 syn match objcPool display /@autoreleasepool\>/
4159
8b86b69546a9 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3496
diff changeset
40
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
41 " ObjC Constant Strings
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
42 syn match objcSpecial display contained "%@"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn region objcString start=+\(@"\|"\)+ skip=+\\\\\|\\"+ end=+"+ contains=cFormat,cSpecial,objcSpecial
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
45 " ObjC Hidden Arguments
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
46 syn keyword objcHiddenArgument self _cmd super
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
47
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
48 " ObjC Type Qualifiers for Blocks
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
49 syn keyword objcBlocksQualifier __block
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
50 " ObjC Type Qualifiers for Object Lifetime
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
51 syn keyword objcObjectLifetimeQualifier __strong __weak __unsafe_unretained __autoreleasing
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
52 " ObjC Type Qualifiers for Toll-Free Bridge
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
53 syn keyword objcTollFreeBridgeQualifier __bridge __bridge_retained __bridge_transfer
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
55 " ObjC Type Qualifiers for Remote Messaging
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
56 syn match objcRemoteMessagingQualifier display contained /\((\s*oneway\s\+\|(\s*in\s\+\|(\s*out\s\+\|(\s*inout\s\+\|(\s*bycopy\s\+\(in\(out\)\?\|out\)\?\|(\s*byref\s\+\(in\(out\)\?\|out\)\?\)/hs=s+1
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
57
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
58 " shorthand
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
59 syn cluster objcTypeQualifier contains=objcBlocksQualifier,objcObjectLifetimeQualifier,objcTollFreeBridgeQualifier,objcRemoteMessagingQualifier
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
60
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
61 " ObjC Fast Enumeration
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
62 syn match objcFastEnumKeyword display /\sin\(\s\|$\)/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
63
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
64 " ObjC Literal Syntax
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
65 syn match objcLiteralSyntaxNumber display /@\(YES\>\|NO\>\|\d\|-\|+\)/ contains=cNumber,cFloat,cOctal
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
66 syn match objcLiteralSyntaxSpecialChar display /@'/ contains=cSpecialCharacter
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
67 syn match objcLiteralSyntaxChar display /@'[^\\]'/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
68 syn match objcLiteralSyntaxOp display /@\((\|\[\|{\)/me=e-1,he=e-1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
70 " ObjC Declared Property Attributes
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
71 syn match objDeclPropAccessorNameAssign display /\s*=\s*/ contained
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
72 syn region objcDeclPropAccessorName display start=/\(getter\|setter\)/ end=/\h\w*/ contains=objDeclPropAccessorNameAssign
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
73 syn keyword objcDeclPropAccessorType readonly readwrite contained
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
74 syn keyword objcDeclPropAssignSemantics assign retain copy contained
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
75 syn keyword objcDeclPropAtomicity nonatomic contained
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
76 syn keyword objcDeclPropARC strong weak contained
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
77 syn region objcDeclProp display transparent keepend start=/@property\s*(/ end=/)/ contains=objcProperty,objcDeclPropAccessorName,objcDeclPropAccessorType,objcDeclPropAssignSemantics,objcDeclPropAtomicity,objcDeclPropARC
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
78
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
79 " To distinguish colons in methods and dictionaries from those in C's labels.
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
80 syn match objcColon display /^\s*\h\w*\s*\:\(\s\|.\)/me=e-1,he=e-1
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
81
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
82 " To distinguish a protocol list from system header files
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
83 syn match objcProtocolList display /<\h\w*\(\s*,\s*\h\w*\)*>/ contains=objcPrincipalType,cType,Type
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
84
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
85 " shorthand
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
86 syn cluster objcCEntities contains=cType,cStructure,cStorageClass,cString,cCharacter,cSpecialCharacter,cNumbers,cConstant,cOperator,cComment,cCommentL,cStatement,cLabel,cConditional,cRepeat
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
87 syn cluster objcObjCEntities contains=objcHiddenArgument,objcPrincipalType,objcString,objcUsefulTerm,objcProtocol,objcInternalRep,objcException,objcThread,objcPool,@objcTypeQualifier,objcLiteralSyntaxNumber,objcLiteralSyntaxOp,objcLiteralSyntaxChar,objcLiteralSyntaxSpecialChar,objcProtocolList,objcColon,objcFastEnumKeyword,objcType,objcClass,objcMacro,objcEnum,objcEnumValue,objcExceptionValue,objcNotificationValue,objcConstVar,objcPreProcMacro
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
88
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
89 " Objective-C Message Expressions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
90 syn region objcMethodCall start=/\[/ end=/\]/ contains=objcMethodCall,objcBlocks,@objcObjCEntities,@objcCEntities
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
91
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
92 " To distinguish class method and instance method
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
93 syn match objcInstanceMethod display /^s*-\s*/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
94 syn match objcClassMethod display /^s*+\s*/
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
95
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
96 " ObjC Blocks
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
97 syn region objcBlocks start=/\(\^\s*([^)]\+)\s*{\|\^\s*{\)/ end=/}/ contains=objcBlocks,objcMethodCall,@objcObjCEntities,@objcCEntities
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
98
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
99 syn cluster cParenGroup add=objcMethodCall
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
100 syn cluster cPreProcGroup add=objcMethodCall
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
101
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
102 """ Foundation Framework
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
103 syn match objcClass /Protocol\s*\*/me=s+8,he=s+8
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
105 """""""""""""""""
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
106 " NSObjCRuntime.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
107 syn keyword objcType NSInteger NSUInteger NSComparator
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
108 syn keyword objcEnum NSComparisonResult
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
109 syn keyword objcEnumValue NSOrderedAscending NSOrderedSame NSOrderedDescending
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
110 syn keyword objcEnum NSEnumerationOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
111 syn keyword objcEnumValue NSEnumerationConcurrent NSEnumerationReverse
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
112 syn keyword objcEnum NSSortOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
113 syn keyword objcEnumValue NSSortConcurrent NSSortStable
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
114 syn keyword objcEnumValue NSNotFound
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
115 syn keyword objcMacro NSIntegerMax NSIntegerMin NSUIntegerMax
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
116 " NSRange.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
117 syn keyword objcType NSRange NSRangePointer
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
118 " NSGeometry.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
119 syn keyword objcType NSPoint NSPointPointer NSPointArray NSSize NSSizePointer NSSizeArray NSRect NSRectPointer NSRectArray
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
120 syn keyword objcEnum NSRectEdge
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
121 syn keyword objcEnumValue NSMinXEdge NSMinYEdge NSMaxXEdge NSMaxYEdge
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
122 syn keyword objcConstVar NSZeroPoint NSZeroSize NSZeroRect
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
123 syn keyword cType CGFloat CGPoint CGSize CGRect
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
124 syn keyword objcEnum NSAlignmentOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
125 syn keyword objcEnumValue NSAlignMinXInward NSAlignMinYInward NSAlignMaxXInward NSAlignMaxYInward NSAlignWidthInward NSAlignHeightInward NSAlignMinXOutward NSAlignMinYOutward NSAlignMaxXOutward NSAlignMaxYOutward NSAlignWidthOutward NSAlignHeightOutward NSAlignMinXNearest NSAlignMinYNearest NSAlignMaxXNearest NSAlignMaxYNearest NSAlignWidthNearest NSAlignHeightNearest NSAlignRectFlipped NSAlignAllEdgesInward NSAlignAllEdgesOutward NSAlignAllEdgesNearest
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
126 " NSDecimal.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
127 syn keyword objcType NSDecimal
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
128 syn keyword objcEnum NSRoundingMode
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
129 syn keyword objcEnumValue NSRoundPlain NSRoundDown NSRoundUp NSRoundBankers
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
130 syn keyword objcEnum NSCalculationError
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
131 syn keyword objcEnumValue NSCalculationNoError NSCalculationLossOfPrecision NSCalculationUnderflow NSCalculationOverflow NSCalculationDivideByZero
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
132 " NSDate.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
133 syn match objcClass /NSDate\s*\*/me=s+6,he=s+6
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
134 syn keyword objcType NSTimeInterval
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
135 syn keyword objcNotificationValue NSSystemClockDidChangeNotification
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
136 syn keyword objcMacro NSTimeIntervalSince1970
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
137 " NSZone.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
138 syn match objcType /NSZone\s*\*/me=s+6,he=s+6
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
139 " NSError.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
140 syn match objcClass /NSError\s*\*/me=s+7,he=s+7
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
141 syn keyword objcConstVar NSCocoaErrorDomain NSPOSIXErrorDomain NSOSStatusErrorDomain NSMachErrorDomain NSUnderlyingErrorKey NSLocalizedDescriptionKey NSLocalizedFailureReasonErrorKey NSLocalizedRecoverySuggestionErrorKey NSLocalizedRecoveryOptionsErrorKey NSRecoveryAttempterErrorKey NSHelpAnchorErrorKey NSStringEncodingErrorKey NSURLErrorKey NSFilePathErrorKey
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
142 " NSException.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
143 syn match objcClass /NSException\s*\*/me=s+11,he=s+11
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
144 syn keyword objcType NSUncaughtExceptionHandler
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
145 syn keyword objcConstVar NSGenericException NSRangeException NSInvalidArgumentException NSInternalInconsistencyException NSMallocException NSObjectInaccessibleException NSObjectNotAvailableException NSDestinationInvalidException NSPortTimeoutException NSInvalidSendPortException NSInvalidReceivePortException NSPortSendException NSPortReceiveException NSOldStyleException
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
146 " NSNotification.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
147 syn match objcClass /NSNotification\s*\*/me=s+14,he=s+14
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
148 syn match objcClass /NSNotificationCenter\s*\*/me=s+20,he=s+20
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
149 " NSDistributedNotificationCenter.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
150 syn match objcClass /NSDistributedNotificationCenter\s*\*/me=s+31,he=s+31
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
151 syn keyword objcConstVar NSLocalNotificationCenterType
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
152 syn keyword objcEnum NSNotificationSuspensionBehavior
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
153 syn keyword objcEnumValue NSNotificationSuspensionBehaviorDrop NSNotificationSuspensionBehaviorCoalesce NSNotificationSuspensionBehaviorHold NSNotificationSuspensionBehaviorHold NSNotificationSuspensionBehaviorDeliverImmediately
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
154 syn keyword objcEnumValue NSNotificationDeliverImmediately NSNotificationPostToAllSessions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
155 " NSNotificationQueue.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
156 syn match objcClass /NSNotificationQueue\s*\*/me=s+19,he=s+19
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
157 syn keyword objcEnum NSPostingStyle
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
158 syn keyword objcEnumValue NSPostWhenIdle NSPostASAP NSPostNow
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
159 syn keyword objcEnum NSNotificationCoalescing
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
160 syn keyword objcEnumValue NSNotificationNoCoalescing NSNotificationCoalescingOnName NSNotificationCoalescingOnSender
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
161 " NSEnumerator.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
162 syn match objcClass /NSEnumerator\s*\*/me=s+12,he=s+12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
163 " NSIndexSet.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
164 syn match objcClass /NSIndexSet\s*\*/me=s+10,he=s+10
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
165 syn match objcClass /NSMutableIndexSet\s*\*/me=s+17,he=s+17
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
166 " NSCharecterSet.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
167 syn match objcClass /NSCharacterSet\s*\*/me=s+14,he=s+14
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
168 " NSURL.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
169 syn match objcClass /NSURL\s*\*/me=s+5,he=s+5
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
170 syn keyword objcEnum NSURLBookmarkCreationOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
171 syn keyword objcEnumValue NSURLBookmarkCreationPreferFileIDResolution NSURLBookmarkCreationMinimalBookmark NSURLBookmarkCreationSuitableForBookmarkFile NSURLBookmarkCreationWithSecurityScope NSURLBookmarkCreationSecurityScopeAllowOnlyReadAccess
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
172 syn keyword objcEnum NSURLBookmarkResolutionOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
173 syn keyword objcEnumValue NSURLBookmarkResolutionWithoutUI NSURLBookmarkResolutionWithoutMounting NSURLBookmarkResolutionWithSecurityScope
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
174 syn keyword objcType NSURLBookmarkFileCreationOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
175 syn keyword objcConstVar NSURLFileScheme NSURLKeysOfUnsetValuesKey
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
176 syn keyword objcConstVar NSURLNameKey NSURLLocalizedNameKey NSURLIsRegularFileKey NSURLIsDirectoryKey NSURLIsSymbolicLinkKey NSURLIsVolumeKey NSURLIsPackageKey NSURLIsSystemImmutableKey NSURLIsUserImmutableKey NSURLIsHiddenKey NSURLHasHiddenExtensionKey NSURLCreationDateKey NSURLContentAccessDateKey NSURLContentModificationDateKey NSURLAttributeModificationDateKey NSURLLinkCountKey NSURLParentDirectoryURLKey NSURLVolumeURLKey NSURLTypeIdentifierKey NSURLLocalizedTypeDescriptionKey NSURLLabelNumberKey NSURLLabelColorKey NSURLLocalizedLabelKey NSURLEffectiveIconKey NSURLCustomIconKey NSURLFileResourceIdentifierKey NSURLVolumeIdentifierKey NSURLPreferredIOBlockSizeKey NSURLIsReadableKey NSURLIsWritableKey NSURLIsExecutableKey NSURLFileSecurityKey NSURLIsExcludedFromBackupKey NSURLPathKey NSURLIsMountTriggerKey NSURLFileResourceTypeKey
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
177 syn keyword objcConstVar NSURLFileResourceTypeNamedPipe NSURLFileResourceTypeCharacterSpecial NSURLFileResourceTypeDirectory NSURLFileResourceTypeBlockSpecial NSURLFileResourceTypeRegular NSURLFileResourceTypeSymbolicLink NSURLFileResourceTypeSocket NSURLFileResourceTypeUnknown
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
178 syn keyword objcConstVar NSURLFileSizeKey NSURLFileAllocatedSizeKey NSURLTotalFileSizeKey NSURLTotalFileAllocatedSizeKey NSURLIsAliasFileKey
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
179 syn keyword objcConstVar NSURLVolumeLocalizedFormatDescriptionKey NSURLVolumeTotalCapacityKey NSURLVolumeAvailableCapacityKey NSURLVolumeResourceCountKey NSURLVolumeSupportsPersistentIDsKey NSURLVolumeSupportsSymbolicLinksKey NSURLVolumeSupportsHardLinksKey NSURLVolumeSupportsJournalingKey NSURLVolumeIsJournalingKey NSURLVolumeSupportsSparseFilesKey NSURLVolumeSupportsZeroRunsKey NSURLVolumeSupportsCaseSensitiveNamesKey NSURLVolumeSupportsCasePreservedNamesKey NSURLVolumeSupportsRootDirectoryDatesKey NSURLVolumeSupportsVolumeSizesKey NSURLVolumeSupportsRenamingKey NSURLVolumeSupportsAdvisoryFileLockingKey NSURLVolumeSupportsExtendedSecurityKey NSURLVolumeIsBrowsableKey NSURLVolumeMaximumFileSizeKey NSURLVolumeIsEjectableKey NSURLVolumeIsRemovableKey NSURLVolumeIsInternalKey NSURLVolumeIsAutomountedKey NSURLVolumeIsLocalKey NSURLVolumeIsReadOnlyKey NSURLVolumeCreationDateKey NSURLVolumeURLForRemountingKey NSURLVolumeUUIDStringKey NSURLVolumeNameKey NSURLVolumeLocalizedNameKey
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
180 syn keyword objcConstVar NSURLIsUbiquitousItemKey NSURLUbiquitousItemHasUnresolvedConflictsKey NSURLUbiquitousItemIsDownloadedKey NSURLUbiquitousItemIsDownloadingKey NSURLUbiquitousItemIsUploadedKey NSURLUbiquitousItemIsUploadingKey NSURLUbiquitousItemPercentDownloadedKey NSURLUbiquitousItemPercentUploadedKey
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
181 """"""""""""
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
182 " NSString.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
183 syn match objcClass /NSString\s*\*/me=s+8,he=s+8
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
184 syn match objcClass /NSMutableString\s*\*/me=s+15,he=s+15
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
185 syn keyword objcType unichar
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
186 syn keyword objcExceptionValue NSParseErrorException NSCharacterConversionException
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
187 syn keyword objcMacro NSMaximumStringLength
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
188 syn keyword objcEnum NSStringCompareOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
189 syn keyword objcEnumValue NSCaseInsensitiveSearch NSLiteralSearch NSBackwardsSearch NSAnchoredSearch NSNumericSearch NSDiacriticInsensitiveSearch NSWidthInsensitiveSearch NSForcedOrderingSearch NSRegularExpressionSearch
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
190 syn keyword objcEnum NSStringEncoding
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
191 syn keyword objcEnumValue NSASCIIStringEncoding NSNEXTSTEPStringEncoding NSJapaneseEUCStringEncoding NSUTF8StringEncoding NSISOLatin1StringEncoding NSSymbolStringEncoding NSNonLossyASCIIStringEncoding NSShiftJISStringEncoding NSISOLatin2StringEncoding NSUnicodeStringEncoding NSWindowsCP1251StringEncoding NSWindowsCP1252StringEncoding NSWindowsCP1253StringEncoding NSWindowsCP1254StringEncoding NSWindowsCP1250StringEncoding NSISO2022JPStringEncoding NSMacOSRomanStringEncoding NSUTF16StringEncoding NSUTF16BigEndianStringEncoding NSUTF16LittleEndianStringEncoding NSUTF32StringEncoding NSUTF32BigEndianStringEncoding NSUTF32LittleEndianStringEncoding
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
192 syn keyword objcEnum NSStringEncodingConversionOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
193 syn keyword objcEnumValue NSStringEncodingConversionAllowLossy NSStringEncodingConversionExternalRepresentation
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
194 syn keyword objcEnum NSStringEnumerationOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
195 syn keyword objcEnumValue NSStringEnumerationByLines NSStringEnumerationByParagraphs NSStringEnumerationByComposedCharacterSequences NSStringEnumerationByWords NSStringEnumerationBySentences NSStringEnumerationReverse NSStringEnumerationSubstringNotRequired NSStringEnumerationLocalized
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
196 " NSAttributedString.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
197 syn match objcClass /NSAttributedString\s*\*/me=s+18,he=s+18
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
198 syn match objcClass /NSMutableAttributedString\s*\*/me=s+25,he=s+25
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
199 syn keyword objcEnum NSAttributedStringEnumerationOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
200 syn keyword objcEnumValue NSAttributedStringEnumerationReverse NSAttributedStringEnumerationLongestEffectiveRangeNotRequired
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
201 " NSValue.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
202 syn match objcClass /NSValue\s*\*/me=s+7,he=s+7
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
203 syn match objcClass /NSNumber\s*\*/me=s+8,he=s+8
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
204 " NSDecimalNumber.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
205 syn match objcClass /NSDecimalNumber\s*\*/me=s+15,he=s+15
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
206 syn match objcClass /NSDecimalNumberHandler\s*\*/me=s+22,he=s+22
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
207 syn keyword objcExceptionValue NSDecimalNumberExactnessException NSDecimalNumberOverflowException NSDecimalNumberUnderflowException NSDecimalNumberDivideByZeroException
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
208 " NSData.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
209 syn match objcClass /NSData\s*\*/me=s+6,he=s+6
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
210 syn match objcClass /NSMutableData\s*\*/me=s+13,he=s+13
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
211 syn keyword objcEnum NSDataReadingOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
212 syn keyword objcEnumValue NSDataReadingMappedIfSafe NSDataReadingUncached NSDataReadingMappedAlways NSDataReadingMapped NSMappedRead NSUncachedRead
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
213 syn keyword objcEnum NSDataWritingOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
214 syn keyword objcEnumValue NSDataWritingAtomic NSDataWritingWithoutOverwriting NSDataWritingFileProtectionNone NSDataWritingFileProtectionComplete NSDataWritingFileProtectionCompleteUnlessOpen NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication NSDataWritingFileProtectionMask NSAtomicWrite
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
215 syn keyword objcEnum NSDataSearchOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
216 syn keyword objcEnumValue NSDataSearchBackwards NSDataSearchAnchored
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
217 " NSArray.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
218 syn match objcClass /NSArray\s*\*/me=s+7,he=s+7
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
219 syn match objcClass /NSMutableArray\s*\*/me=s+14,he=s+14
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
220 syn keyword objcEnum NSBinarySearchingOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
221 syn keyword objcEnumValue NSBinarySearchingFirstEqual NSBinarySearchingLastEqual NSBinarySearchingInsertionIndex
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
222 " NSDictionary.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
223 syn match objcClass /NSDictionary\s*\*/me=s+12,he=s+12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
224 syn match objcClass /NSMutableDictionary\s*\*/me=s+19,he=s+19
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
225 " NSSet.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
226 syn match objcClass /NSSet\s*\*/me=s+5,me=s+5
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
227 syn match objcClass /NSMutableSet\s*\*/me=s+12,me=s+12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
228 syn match objcClass /NSCountedSet\s*\*/me=s+12,me=s+12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
229 " NSOrderedSet.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
230 syn match objcClass /NSOrderedSet\s*\*/me=s+12,me=s+12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
231 syn match objcClass /NSMutableOrderedSet\s*\*/me=s+19,me=s+19
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
232 """""""""""""""""""
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
233 " NSPathUtilities.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
234 syn keyword objcEnum NSSearchPathDirectory
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
235 syn keyword objcEnumValue NSApplicationDirectory NSDemoApplicationDirectory NSDeveloperApplicationDirectory NSAdminApplicationDirectory NSLibraryDirectory NSDeveloperDirectory NSUserDirectory NSDocumentationDirectory NSDocumentDirectory NSCoreServiceDirectory NSAutosavedInformationDirectory NSDesktopDirectory NSCachesDirectory NSApplicationSupportDirectory NSDownloadsDirectory NSInputMethodsDirectory NSMoviesDirectory NSMusicDirectory NSPicturesDirectory NSPrinterDescriptionDirectory NSSharedPublicDirectory NSPreferencePanesDirectory NSApplicationScriptsDirectory NSItemReplacementDirectory NSAllApplicationsDirectory NSAllLibrariesDirectory NSTrashDirectory
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
236 syn keyword objcEnum NSSearchPathDomainMask
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
237 syn keyword objcEnumValue NSUserDomainMask NSLocalDomainMask NSNetworkDomainMask NSSystemDomainMask NSAllDomainsMask
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
238 " NSFileManger.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
239 syn match objcClass /NSFileManager\s*\*/me=s+13,he=s+13
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
240 syn match objcClass /NSDirectoryEnumerator\s*\*/me=s+21,he=s+21
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
241 syn keyword objcEnum NSVolumeEnumerationOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
242 syn keyword objcEnumValue NSVolumeEnumerationSkipHiddenVolumes NSVolumeEnumerationProduceFileReferenceURLs
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
243 syn keyword objcEnum NSDirectoryEnumerationOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
244 syn keyword objcEnumValue NSDirectoryEnumerationSkipsSubdirectoryDescendants NSDirectoryEnumerationSkipsPackageDescendants NSDirectoryEnumerationSkipsHiddenFiles
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
245 syn keyword objcEnum NSFileManagerItemReplacementOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
246 syn keyword objcEnumValue NSFileManagerItemReplacementUsingNewMetadataOnly NSFileManagerItemReplacementWithoutDeletingBackupItem
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
247 syn keyword objcNotificationValue NSUbiquityIdentityDidChangeNotification
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
248 syn keyword objcConstVar NSFileType NSFileTypeDirectory NSFileTypeRegular NSFileTypeSymbolicLink NSFileTypeSocket NSFileTypeCharacterSpecial NSFileTypeBlockSpecial NSFileTypeUnknown NSFileSize NSFileModificationDate NSFileReferenceCount NSFileDeviceIdentifier NSFileOwnerAccountName NSFileGroupOwnerAccountName NSFilePosixPermissions NSFileSystemNumber NSFileSystemFileNumber NSFileExtensionHidden NSFileHFSCreatorCode NSFileHFSTypeCode NSFileImmutable NSFileAppendOnly NSFileCreationDate NSFileOwnerAccountID NSFileGroupOwnerAccountID NSFileBusy NSFileProtectionKey NSFileProtectionNone NSFileProtectionComplete NSFileProtectionCompleteUnlessOpen NSFileProtectionCompleteUntilFirstUserAuthentication NSFileSystemSize NSFileSystemFreeSize NSFileSystemNodes NSFileSystemFreeNodes
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
249 " NSFileHandle.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
250 syn match objcClass /NSFileHandle\s*\*/me=s+12,he=s+12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
251 syn keyword objcExceptionValue NSFileHandleOperationException
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
252 syn keyword objcNotificationValue NSFileHandleReadCompletionNotification NSFileHandleReadToEndOfFileCompletionNotification NSFileHandleConnectionAcceptedNotification NSFileHandleDataAvailableNotification NSFileHandleNotificationDataItem NSFileHandleNotificationFileHandleItem NSFileHandleNotificationMonitorModes
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
253 syn match objcClass /NSPipe\s*\*/me=s+6,he=s+6
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
254 """"""""""""
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
255 " NSLocale.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
256 syn match objcClass /NSLocale\s*\*/me=s+8,he=s+8
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
257 syn keyword objcEnum NSLocaleLanguageDirection
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
258 syn keyword objcEnumValue NSLocaleLanguageDirectionUnknown NSLocaleLanguageDirectionLeftToRight NSLocaleLanguageDirectionRightToLeft NSLocaleLanguageDirectionTopToBottom NSLocaleLanguageDirectionBottomToTop
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
259 syn keyword objcNotificationValue NSCurrentLocaleDidChangeNotification
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
260 syn keyword objcConstVar NSLocaleIdentifier NSLocaleLanguageCode NSLocaleCountryCode NSLocaleScriptCode NSLocaleVariantCode NSLocaleExemplarCharacterSet NSLocaleCalendar NSLocaleCollationIdentifier NSLocaleUsesMetricSystem NSLocaleMeasurementSystem NSLocaleDecimalSeparator NSLocaleGroupingSeparator NSLocaleCurrencySymbol NSLocaleCurrencyCode NSLocaleCollatorIdentifier NSLocaleQuotationBeginDelimiterKey NSLocaleQuotationEndDelimiterKey NSLocaleAlternateQuotationBeginDelimiterKey NSLocaleAlternateQuotationEndDelimiterKey NSGregorianCalendar NSBuddhistCalendar NSChineseCalendar NSHebrewCalendar NSIslamicCalendar NSIslamicCivilCalendar NSJapaneseCalendar NSRepublicOfChinaCalendar NSPersianCalendar NSIndianCalendar NSISO8601Calendar
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
261 " NSFormatter.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
262 syn match objcClass /NSFormatter\s*\*/me=s+11,he=s+11
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
263 " NSNumberFormatter.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
264 syn match objcClass /NSNumberFormatter\s*\*/me=s+17,he=s+17
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
265 syn keyword objcEnum NSNumberFormatterStyle
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
266 syn keyword objcEnumValue NSNumberFormatterNoStyle NSNumberFormatterDecimalStyle NSNumberFormatterCurrencyStyle NSNumberFormatterPercentStyle NSNumberFormatterScientificStyle NSNumberFormatterSpellOutStyle
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
267 syn keyword objcEnum NSNumberFormatterBehavior
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
268 syn keyword objcEnumValue NSNumberFormatterBehaviorDefault NSNumberFormatterBehavior10_0 NSNumberFormatterBehavior10_4
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
269 syn keyword objcEnum NSNumberFormatterPadPosition
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
270 syn keyword objcEnumValue NSNumberFormatterPadBeforePrefix NSNumberFormatterPadAfterPrefix NSNumberFormatterPadBeforeSuffix NSNumberFormatterPadAfterSuffix
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
271 syn keyword objcEnum NSNumberFormatterRoundingMode
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
272 syn keyword objcEnumValue NSNumberFormatterRoundCeiling NSNumberFormatterRoundFloor NSNumberFormatterRoundDown NSNumberFormatterRoundUp NSNumberFormatterRoundHalfEven NSNumberFormatterRoundHalfDown NSNumberFormatterRoundHalfUp
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
273 " NSDateFormatter.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
274 syn match objcClass /NSDateFormatter\s*\*/me=s+15,he=s+15
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
275 syn keyword objcEnum NSDateFormatterStyle
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
276 syn keyword objcEnumValue NSDateFormatterNoStyle NSDateFormatterShortStyle NSDateFormatterMediumStyle NSDateFormatterLongStyle NSDateFormatterFullStyle
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
277 syn keyword objcEnum NSDateFormatterBehavior
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
278 syn keyword objcEnumValue NSDateFormatterBehaviorDefault NSDateFormatterBehavior10_0 NSDateFormatterBehavior10_4
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
279 " NSCalendar.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
280 syn match objcClass /NSCalendar\s*\*/me=s+10,he=s+10
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
281 syn keyword objcEnum NSCalendarUnit
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
282 syn keyword objcEnumValue NSEraCalendarUnit NSYearCalendarUnit NSMonthCalendarUnit NSDayCalendarUnit NSHourCalendarUnit NSMinuteCalendarUnit NSSecondCalendarUnit NSWeekCalendarUnit NSWeekdayCalendarUnit NSWeekdayOrdinalCalendarUnit NSQuarterCalendarUnit NSWeekOfMonthCalendarUnit NSWeekOfYearCalendarUnit NSYearForWeekOfYearCalendarUnit NSCalendarCalendarUnit NSTimeZoneCalendarUnit
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
283 syn keyword objcEnumValue NSWrapCalendarComponents NSUndefinedDateComponent
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
284 syn match objcClass /NSDateComponents\s*\*/me=s+16,he=s+16
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
285 " NSTimeZone.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
286 syn match objcClass /NSTimeZone\s*\*/me=s+10,he=s+10
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
287 syn keyword objcEnum NSTimeZoneNameStyle
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
288 syn keyword objcEnumValue NSTimeZoneNameStyleStandard NSTimeZoneNameStyleShortStandard NSTimeZoneNameStyleDaylightSaving NSTimeZoneNameStyleShortDaylightSaving NSTimeZoneNameStyleGeneric NSTimeZoneNameStyleShortGeneric
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
289 syn keyword objcNotificationValue NSSystemTimeZoneDidChangeNotification
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
290 """""""""""
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
291 " NSCoder.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
292 syn match objcClass /NSCoder\s*\*/me=s+7,he=s+7
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
293 " NSArchiver.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
294 syn match objcClass /NSArchiver\s*\*/me=s+10,he=s+10
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
295 syn match objcClass /NSUnarchiver\s*\*/me=s+12,he=s+12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
296 syn keyword objcExceptionValue NSInconsistentArchiveException
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
297 " NSKeyedArchiver.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
298 syn match objcClass /NSKeyedArchiver\s*\*/me=s+15,he=s+15
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
299 syn match objcClass /NSKeyedUnarchiver\s*\*/me=s+17,he=s+17
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
300 syn keyword objcExceptionValue NSInvalidArchiveOperationException NSInvalidUnarchiveOperationException
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
301 """"""""""""""""""
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
302 " NSPropertyList.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
303 syn keyword objcEnum NSPropertyListMutabilityOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
304 syn keyword objcEnumValue NSPropertyListImmutable NSPropertyListMutableContainers NSPropertyListMutableContainersAndLeaves
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
305 syn keyword objcEnum NSPropertyListFormat
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
306 syn keyword objcEnumValue NSPropertyListOpenStepFormat NSPropertyListXMLFormat_v1_0 NSPropertyListBinaryFormat_v1_0
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
307 syn keyword objcType NSPropertyListReadOptions NSPropertyListWriteOptions
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
308 " NSUserDefaults.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
309 syn match objcClass /NSUserDefaults\s*\*/me=s+14,he=s+14
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
310 syn keyword objcConstVar NSGlobalDomain NSArgumentDomain NSRegistrationDomain
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
311 syn keyword objcNotificationValue NSUserDefaultsDidChangeNotification
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
312 " NSBundle.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
313 syn match objcClass /NSBundle\s*\*/me=s+8,he=s+8
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
314 syn keyword objcEnumValue NSBundleExecutableArchitectureI386 NSBundleExecutableArchitecturePPC NSBundleExecutableArchitectureX86_64 NSBundleExecutableArchitecturePPC64
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
315 syn keyword objcNotificationValue NSBundleDidLoadNotification NSLoadedClasses
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
316 """""""""""""""""
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
317 " NSProcessInfo.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
318 syn match objcClass /NSProcessInfo\s*\*/me=s+13,he=s+13
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
319 syn keyword objcEnumValue NSWindowsNTOperatingSystem NSWindows95OperatingSystem NSSolarisOperatingSystem NSHPUXOperatingSystem NSMACHOperatingSystem NSSunOSOperatingSystem NSOSF1OperatingSystem
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
320 " NSTask.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
321 syn match objcClass /NSTask\s*\*/me=s+6,he=s+6
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
322 syn keyword objcEnum NSTaskTerminationReason
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
323 syn keyword objcEnumValue NSTaskTerminationReasonExit NSTaskTerminationReasonUncaughtSignal
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
324 syn keyword objcNotificationValue NSTaskDidTerminateNotification
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
325 " NSThread.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
326 syn match objcClass /NSThread\s*\*/me=s+8,he=s+8
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
327 syn keyword objcNotificationValue NSWillBecomeMultiThreadedNotification NSDidBecomeSingleThreadedNotification NSThreadWillExitNotification
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
328 " NSLock.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
329 syn match objcClass /NSLock\s*\*/me=s+6,he=s+6
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
330 syn match objcClass /NSConditionLock\s*\*/me=s+15,he=s+15
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
331 syn match objcClass /NSRecursiveLock\s*\*/me=s+15,he=s+15
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
332 " NSDictributedLock
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
333 syn match objcClass /NSDistributedLock\s*\*/me=s+17,he=s+17
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
334 " NSOperation.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
335 """"""""""""""""
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
336 syn match objcClass /NSOperation\s*\*/me=s+11,he=s+11
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
337 syn keyword objcEnum NSOperationQueuePriority
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
338 syn keyword objcEnumValue NSOperationQueuePriorityVeryLow NSOperationQueuePriorityLow NSOperationQueuePriorityNormal NSOperationQueuePriorityHigh NSOperationQueuePriorityVeryHigh
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
339 syn match objcClass /NSBlockOperation\s*\*/me=s+16,he=s+16
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
340 syn match objcClass /NSInvocationOperation\s*\*/me=s+21,he=s+21
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
341 syn keyword objcExceptionValue NSInvocationOperationVoidResultException NSInvocationOperationCancelledException
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
342 syn match objcClass /NSOperationQueue\s*\*/me=s+16,he=s+16
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
343 syn keyword objcEnumValue NSOperationQueueDefaultMaxConcurrentOperationCount
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
344 " NSConnection.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
345 syn match objcClass /NSConnection\s*\*/me=s+12,he=s+12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
346 syn keyword objcConstVar NSConnectionReplyMode
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
347 syn keyword objcNotificationValue NSConnectionDidDieNotification NSConnectionDidInitializeNotification
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
348 syn keyword objcExceptionValue NSFailedAuthenticationException
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
349 " NSPort.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
350 syn match objcClass /NSPort\s*\*/me=s+6,he=s+6
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
351 syn keyword objcType NSSocketNativeHandle
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
352 syn keyword objcNotificationValue NSPortDidBecomeInvalidNotification
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
353 syn match objcClass /NSMachPort\s*\*/me=s+10,he=s+10
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
354 syn keyword objcEnumValue NSMachPortDeallocateNone NSMachPortDeallocateSendRight NSMachPortDeallocateReceiveRight
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
355 syn match objcClass /NSMessagePort\s*\*/me=s+13,he=s+13
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
356 syn match objcClass /NSSocketPort\s*\*/me=s+12,he=s+12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
357 " NSPortMessage.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
358 syn match objcClass /NSPortMessage\s*\*/me=s+13,he=s+13
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
359 " NSDistantObject.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
360 syn match objcClass /NSDistantObject\s*\*/me=s+15,he=s+15
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
361 " NSPortNameServer.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
362 syn match objcClass /NSPortNameServer\s*\*/me=s+16,he=s+16
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
363 syn match objcClass /NSMessagePortNameServer\s*\*/me=s+23,he=s+23
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
364 syn match objcClass /NSSocketPortNameServer\s*\*/me=s+22,he=s+22
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
365 " NSHost.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
366 syn match objcClass /NSHost\s*\*/me=s+6,he=s+6
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
367 " NSInvocation.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
368 syn match objcClass /NSInvocation\s*\*/me=s+12,he=s+12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
369 " NSMethodSignature.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
370 syn match objcClass /NSMethodSignature\s*\*/me=s+17,he=s+17
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
371 """""
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
372 " NSScanner.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
373 syn match objcClass /NSScanner\s*\*/me=s+9,he=s+9
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
374 " NSTimer.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
375 syn match objcClass /NSTimer\s*\*/me=s+7,he=s+7
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
376 " NSAutoreleasePool.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
377 syn match objcClass /NSAutoreleasePool\s*\*/me=s+17,he=s+17
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
378 " NSRunLoop.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
379 syn match objcClass /NSRunLoop\s*\*/me=s+9,he=s+9
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
380 syn keyword objcConstVar NSDefaultRunLoopMode NSRunLoopCommonModes
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
381 " NSNull.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
382 syn match objcClass /NSNull\s*\*/me=s+6,he=s+6
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
383 " NSProxy.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
384 syn match objcClass /NSProxy\s*\*/me=s+7,he=s+7
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
385 " NSObject.h
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
386 syn match objcClass /NSObject\s*\*/me=s+8,he=s+8
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
388 """ Default Highlighting
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
389 hi def link objcPreProcMacro cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
390 hi def link objcPrincipalType cType
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
391 hi def link objcUsefulTerm cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
392 hi def link objcImport cInclude
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
393 hi def link objcImported cString
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
394 hi def link objcObjDef cOperator
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
395 hi def link objcProtocol cOperator
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
396 hi def link objcProperty cOperator
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
397 hi def link objcIvarScope cOperator
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
398 hi def link objcInternalRep cOperator
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
399 hi def link objcException cOperator
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
400 hi def link objcThread cOperator
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
401 hi def link objcPool cOperator
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
402 hi def link objcSpecial cSpecial
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
403 hi def link objcString cString
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
404 hi def link objcHiddenArgument cStatement
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
405 hi def link objcBlocksQualifier cStorageClass
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
406 hi def link objcObjectLifetimeQualifier cStorageClass
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
407 hi def link objcTollFreeBridgeQualifier cStorageClass
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
408 hi def link objcRemoteMessagingQualifier cStorageClass
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
409 hi def link objcFastEnumKeyword cStatement
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
410 hi def link objcLiteralSyntaxNumber cNumber
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
411 hi def link objcLiteralSyntaxChar cCharacter
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
412 hi def link objcLiteralSyntaxSpecialChar cCharacter
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
413 hi def link objcLiteralSyntaxOp cOperator
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
414 hi def link objcDeclPropAccessorName cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
415 hi def link objcDeclPropAccessorType cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
416 hi def link objcDeclPropAssignSemantics cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
417 hi def link objcDeclPropAtomicity cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
418 hi def link objcDeclPropARC cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
419 hi def link objcInstanceMethod Function
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
420 hi def link objcClassMethod Function
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
421 hi def link objcType cType
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
422 hi def link objcClass cType
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
423 hi def link objcMacro cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
424 hi def link objcEnum cType
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
425 hi def link objcEnumValue cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
426 hi def link objcExceptionValue cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
427 hi def link objcNotificationValue cConstant
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
428 hi def link objcConstVar cConstant
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
430 """ Final step
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
431 let b:current_syntax = "objc"
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
432 let &cpo = s:cpo_save
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
433 unlet s:cpo_save
3496
d1e4abe8342c Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
434
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4159
diff changeset
435 " vim: ts=8 sw=2 sts=2