Mercurial > vim
annotate runtime/syntax/objc.vim @ 13696:3b1cfbc70b43 v8.0.1720
patch 8.0.1720: when a timer is running a terminal window may not close
commit https://github.com/vim/vim/commit/802bfb14636b24d86d0ca8e0947d808b9b7c941e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 15 17:28:13 2018 +0200
patch 8.0.1720: when a timer is running a terminal window may not close
Problem: When a timer is running a terminal window may not close after a
shell has exited.
Solution: Call job_status() more often.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 15 Apr 2018 17:30:07 +0200 |
parents | aea5ebf352c4 |
children | 83cfa1ef1bf2 |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
4869 | 2 " Language: Objective-C |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
3 " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@gmail.com> |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
4 " Last Change: 2015 Dec 14 |
7 | 5 |
4869 | 6 """ Preparation for loading ObjC stuff |
7 if exists("b:current_syntax") | |
7 | 8 finish |
9 endif | |
4869 | 10 if &filetype != 'objcpp' |
11 syn clear | |
12 runtime! syntax/c.vim | |
13 endif | |
14 let s:cpo_save = &cpo | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
15 set cpo&vim |
7 | 16 |
4869 | 17 """ ObjC proper stuff follows... |
18 | |
19 syn keyword objcPreProcMacro __OBJC__ __OBJC2__ __clang__ | |
7 | 20 |
4869 | 21 " Defined Types |
4911 | 22 syn keyword objcPrincipalType id Class SEL IMP BOOL instancetype |
4869 | 23 syn keyword objcUsefulTerm nil Nil NO YES |
7 | 24 |
4869 | 25 " Preprocessor Directives |
26 syn region objcImported display contained start=+"+ skip=+\\\\\|\\"+ end=+"+ | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
27 syn match objcImported display contained "\(<\h[-a-zA-Z0-9_/]*\.h>\|<[a-z0-9]\+>\)" |
4869 | 28 syn match objcImport display "^\s*\(%:\|#\)\s*import\>\s*["<]" contains=objcImported |
7 | 29 |
4869 | 30 " ObjC Compiler Directives |
31 syn match objcObjDef display /@interface\>\|@implementation\>\|@end\>\|@class\>/ | |
32 syn match objcProtocol display /@protocol\>\|@optional\>\|@required\>/ | |
33 syn match objcProperty display /@property\>\|@synthesize\>\|@dynamic\>/ | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
34 syn match objcIvarScope display /@private\>\|@protected\>\|@public\>\|@package\>/ |
4869 | 35 syn match objcInternalRep display /@selector\>\|@encode\>/ |
36 syn match objcException display /@try\>\|@throw\>\|@catch\|@finally\>/ | |
37 syn match objcThread display /@synchronized\>/ | |
38 syn match objcPool display /@autoreleasepool\>/ | |
4911 | 39 syn match objcModuleImport display /@import\>/ |
4159 | 40 |
4869 | 41 " ObjC Constant Strings |
42 syn match objcSpecial display contained "%@" | |
7 | 43 syn region objcString start=+\(@"\|"\)+ skip=+\\\\\|\\"+ end=+"+ contains=cFormat,cSpecial,objcSpecial |
44 | |
4869 | 45 " ObjC Hidden Arguments |
46 syn keyword objcHiddenArgument self _cmd super | |
47 | |
48 " ObjC Type Qualifiers for Blocks | |
49 syn keyword objcBlocksQualifier __block | |
50 " ObjC Type Qualifiers for Object Lifetime | |
51 syn keyword objcObjectLifetimeQualifier __strong __weak __unsafe_unretained __autoreleasing | |
52 " ObjC Type Qualifiers for Toll-Free Bridge | |
53 syn keyword objcTollFreeBridgeQualifier __bridge __bridge_retained __bridge_transfer | |
7 | 54 |
4869 | 55 " ObjC Type Qualifiers for Remote Messaging |
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 | |
57 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
58 " ObjC Storage Classes |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
59 syn keyword objcStorageClass _Nullable _Nonnull _Null_unspecified |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
60 syn keyword objcStorageClass __nullable __nonnull __null_unspecified |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
61 syn keyword objcStorageClass nullable nonnull null_unspecified |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
62 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
63 " ObjC type specifier |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
64 syn keyword objcTypeSpecifier __kindof __covariant |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
65 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
66 " ObjC Type Infomation Parameters |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
67 syn keyword objcTypeInfoParams ObjectType KeyType |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
68 |
4869 | 69 " shorthand |
70 syn cluster objcTypeQualifier contains=objcBlocksQualifier,objcObjectLifetimeQualifier,objcTollFreeBridgeQualifier,objcRemoteMessagingQualifier | |
71 | |
72 " ObjC Fast Enumeration | |
73 syn match objcFastEnumKeyword display /\sin\(\s\|$\)/ | |
74 | |
75 " ObjC Literal Syntax | |
76 syn match objcLiteralSyntaxNumber display /@\(YES\>\|NO\>\|\d\|-\|+\)/ contains=cNumber,cFloat,cOctal | |
77 syn match objcLiteralSyntaxSpecialChar display /@'/ contains=cSpecialCharacter | |
78 syn match objcLiteralSyntaxChar display /@'[^\\]'/ | |
79 syn match objcLiteralSyntaxOp display /@\((\|\[\|{\)/me=e-1,he=e-1 | |
7 | 80 |
4869 | 81 " ObjC Declared Property Attributes |
82 syn match objDeclPropAccessorNameAssign display /\s*=\s*/ contained | |
83 syn region objcDeclPropAccessorName display start=/\(getter\|setter\)/ end=/\h\w*/ contains=objDeclPropAccessorNameAssign | |
84 syn keyword objcDeclPropAccessorType readonly readwrite contained | |
85 syn keyword objcDeclPropAssignSemantics assign retain copy contained | |
86 syn keyword objcDeclPropAtomicity nonatomic contained | |
87 syn keyword objcDeclPropARC strong weak contained | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
88 syn match objcDeclPropNullable /\((\|\s\)nullable\(,\|)\)/ms=s+1,hs=s+1,me=e-1,he=e-1 contained |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
89 syn match objcDeclPropNonnull /\((\|\s\)nonnull\(,\|)\)/ms=s+1,hs=s+1,me=e-1,he=e-1 contained |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
90 syn match objcDeclPropNullUnspecified /\((\|\s\)null_unspecified\(,\|)\)/ms=s+1,hs=s+1,me=e-1,he=e-1 contained |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
91 syn keyword objcDeclProcNullResettable null_resettable contained |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
92 syn region objcDeclProp display transparent keepend start=/@property\s*(/ end=/)/ contains=objcProperty,objcDeclPropAccessorName,objcDeclPropAccessorType,objcDeclPropAssignSemantics,objcDeclPropAtomicity,objcDeclPropARC,objcDeclPropNullable,objcDeclPropNonnull,objcDeclPropNullUnspecified,objcDeclProcNullResettable |
4869 | 93 |
94 " To distinguish colons in methods and dictionaries from those in C's labels. | |
95 syn match objcColon display /^\s*\h\w*\s*\:\(\s\|.\)/me=e-1,he=e-1 | |
96 | |
97 " To distinguish a protocol list from system header files | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
98 syn match objcProtocolList display /<\h\w*\(\s*,\s*\h\w*\)*>/ contains=objcPrincipalType,cType,Type,objcType,objcTypeInfoParams |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
99 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
100 " Type info for collection classes |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
101 syn match objcTypeInfo display /<\h\w*\s*<\(\h\w*\s*\**\|\h\w*\)>>/ contains=objcPrincipalType,cType,Type,objcType,objcTypeInfoParams |
4869 | 102 |
103 " shorthand | |
104 syn cluster objcCEntities contains=cType,cStructure,cStorageClass,cString,cCharacter,cSpecialCharacter,cNumbers,cConstant,cOperator,cComment,cCommentL,cStatement,cLabel,cConditional,cRepeat | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
105 syn cluster objcObjCEntities contains=objcHiddenArgument,objcPrincipalType,objcString,objcUsefulTerm,objcProtocol,objcInternalRep,objcException,objcThread,objcPool,objcModuleImport,@objcTypeQualifier,objcLiteralSyntaxNumber,objcLiteralSyntaxOp,objcLiteralSyntaxChar,objcLiteralSyntaxSpecialChar,objcProtocolList,objcColon,objcFastEnumKeyword,objcType,objcClass,objcMacro,objcEnum,objcEnumValue,objcExceptionValue,objcNotificationValue,objcConstVar,objcPreProcMacro,objcTypeInfo |
4869 | 106 |
107 " Objective-C Message Expressions | |
108 syn region objcMethodCall start=/\[/ end=/\]/ contains=objcMethodCall,objcBlocks,@objcObjCEntities,@objcCEntities | |
109 | |
110 " To distinguish class method and instance method | |
111 syn match objcInstanceMethod display /^s*-\s*/ | |
112 syn match objcClassMethod display /^s*+\s*/ | |
113 | |
114 " ObjC Blocks | |
115 syn region objcBlocks start=/\(\^\s*([^)]\+)\s*{\|\^\s*{\)/ end=/}/ contains=objcBlocks,objcMethodCall,@objcObjCEntities,@objcCEntities | |
116 | |
117 syn cluster cParenGroup add=objcMethodCall | |
118 syn cluster cPreProcGroup add=objcMethodCall | |
119 | |
120 """ Foundation Framework | |
121 syn match objcClass /Protocol\s*\*/me=s+8,he=s+8 | |
7 | 122 |
4869 | 123 """"""""""""""""" |
124 " NSObjCRuntime.h | |
125 syn keyword objcType NSInteger NSUInteger NSComparator | |
126 syn keyword objcEnum NSComparisonResult | |
127 syn keyword objcEnumValue NSOrderedAscending NSOrderedSame NSOrderedDescending | |
128 syn keyword objcEnum NSEnumerationOptions | |
129 syn keyword objcEnumValue NSEnumerationConcurrent NSEnumerationReverse | |
130 syn keyword objcEnum NSSortOptions | |
131 syn keyword objcEnumValue NSSortConcurrent NSSortStable | |
132 syn keyword objcEnumValue NSNotFound | |
133 syn keyword objcMacro NSIntegerMax NSIntegerMin NSUIntegerMax | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
134 syn keyword objcMacro NS_INLINE NS_BLOCKS_AVAILABLE NS_NONATOMIC_IOSONLY NS_FORMAT_FUNCTION NS_FORMAT_ARGUMENT NS_RETURNS_RETAINED NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_AUTOMATED_REFCOUNT_UNAVAILABLE NS_AUTOMATED_REFCOUNT_WEAK_UNAVAILABLE NS_REQUIRES_PROPERTY_DEFINITIONS NS_REPLACES_RECEIVER NS_RELEASES_ARGUMENT NS_VALID_UNTIL_END_OF_SCOPE NS_ROOT_CLASS NS_REQUIRES_SUPER NS_PROTOCOL_REQUIRES_EXPLICIT_IMPLEMENTATION NS_DESIGNATED_INITIALIZER NS_REQUIRES_NIL_TERMINATION |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
135 syn keyword objcEnum NSQualityOfService |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
136 syn keyword objcEnumValue NSQualityOfServiceUserInteractive NSQualityOfServiceUserInitiated NSQualityOfServiceUtility NSQualityOfServiceBackground NSQualityOfServiceDefault |
4869 | 137 " NSRange.h |
138 syn keyword objcType NSRange NSRangePointer | |
139 " NSGeometry.h | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
140 syn keyword objcType NSPoint NSPointPointer NSPointArray NSSize NSSizePointer NSSizeArray NSRect NSRectPointer NSRectArray NSEdgeInsets |
4869 | 141 syn keyword objcEnum NSRectEdge |
142 syn keyword objcEnumValue NSMinXEdge NSMinYEdge NSMaxXEdge NSMaxYEdge | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
143 syn keyword objcEnumValue NSRectEdgeMinX NSRectEdgeMinY NSRectEdgeMaxX NSRectEdgeMaxY |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
144 syn keyword objcConstVar NSZeroPoint NSZeroSize NSZeroRect NSEdgeInsetsZero |
4869 | 145 syn keyword cType CGFloat CGPoint CGSize CGRect |
146 syn keyword objcEnum NSAlignmentOptions | |
147 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 | |
148 " NSDecimal.h | |
149 syn keyword objcType NSDecimal | |
150 syn keyword objcEnum NSRoundingMode | |
151 syn keyword objcEnumValue NSRoundPlain NSRoundDown NSRoundUp NSRoundBankers | |
152 syn keyword objcEnum NSCalculationError | |
153 syn keyword objcEnumValue NSCalculationNoError NSCalculationLossOfPrecision NSCalculationUnderflow NSCalculationOverflow NSCalculationDivideByZero | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
154 syn keyword objcConstVar NSDecimalMaxSize NSDecimalNoScale |
4869 | 155 " NSDate.h |
156 syn match objcClass /NSDate\s*\*/me=s+6,he=s+6 | |
157 syn keyword objcType NSTimeInterval | |
158 syn keyword objcNotificationValue NSSystemClockDidChangeNotification | |
159 syn keyword objcMacro NSTimeIntervalSince1970 | |
160 " NSZone.h | |
161 syn match objcType /NSZone\s*\*/me=s+6,he=s+6 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
162 syn keyword objcEnumValue NSScannedOption NSCollectorDisabledOption |
4869 | 163 " NSError.h |
164 syn match objcClass /NSError\s*\*/me=s+7,he=s+7 | |
165 syn keyword objcConstVar NSCocoaErrorDomain NSPOSIXErrorDomain NSOSStatusErrorDomain NSMachErrorDomain NSUnderlyingErrorKey NSLocalizedDescriptionKey NSLocalizedFailureReasonErrorKey NSLocalizedRecoverySuggestionErrorKey NSLocalizedRecoveryOptionsErrorKey NSRecoveryAttempterErrorKey NSHelpAnchorErrorKey NSStringEncodingErrorKey NSURLErrorKey NSFilePathErrorKey | |
166 " NSException.h | |
167 syn match objcClass /NSException\s*\*/me=s+11,he=s+11 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
168 syn match objcClass /NSAssertionHandler\s*\*/me=s+18,he=s+18 |
4869 | 169 syn keyword objcType NSUncaughtExceptionHandler |
170 syn keyword objcConstVar NSGenericException NSRangeException NSInvalidArgumentException NSInternalInconsistencyException NSMallocException NSObjectInaccessibleException NSObjectNotAvailableException NSDestinationInvalidException NSPortTimeoutException NSInvalidSendPortException NSInvalidReceivePortException NSPortSendException NSPortReceiveException NSOldStyleException | |
171 " NSNotification.h | |
172 syn match objcClass /NSNotification\s*\*/me=s+14,he=s+14 | |
173 syn match objcClass /NSNotificationCenter\s*\*/me=s+20,he=s+20 | |
174 " NSDistributedNotificationCenter.h | |
175 syn match objcClass /NSDistributedNotificationCenter\s*\*/me=s+31,he=s+31 | |
176 syn keyword objcConstVar NSLocalNotificationCenterType | |
177 syn keyword objcEnum NSNotificationSuspensionBehavior | |
178 syn keyword objcEnumValue NSNotificationSuspensionBehaviorDrop NSNotificationSuspensionBehaviorCoalesce NSNotificationSuspensionBehaviorHold NSNotificationSuspensionBehaviorHold NSNotificationSuspensionBehaviorDeliverImmediately | |
179 syn keyword objcEnumValue NSNotificationDeliverImmediately NSNotificationPostToAllSessions | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
180 syn keyword objcEnum NSDistributedNotificationOptions |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
181 syn keyword objcEnumValue NSDistributedNotificationDeliverImmediately NSDistributedNotificationPostToAllSessions |
4869 | 182 " NSNotificationQueue.h |
183 syn match objcClass /NSNotificationQueue\s*\*/me=s+19,he=s+19 | |
184 syn keyword objcEnum NSPostingStyle | |
185 syn keyword objcEnumValue NSPostWhenIdle NSPostASAP NSPostNow | |
186 syn keyword objcEnum NSNotificationCoalescing | |
187 syn keyword objcEnumValue NSNotificationNoCoalescing NSNotificationCoalescingOnName NSNotificationCoalescingOnSender | |
188 " NSEnumerator.h | |
189 syn match objcClass /NSEnumerator\s*\*/me=s+12,he=s+12 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
190 syn match objcClass /NSEnumerator<.*>\s*\*/me=s+12,he=s+12 contains=objcTypeInfoParams |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
191 syn keyword objcType NSFastEnumerationState |
4869 | 192 " NSIndexSet.h |
193 syn match objcClass /NSIndexSet\s*\*/me=s+10,he=s+10 | |
194 syn match objcClass /NSMutableIndexSet\s*\*/me=s+17,he=s+17 | |
195 " NSCharecterSet.h | |
196 syn match objcClass /NSCharacterSet\s*\*/me=s+14,he=s+14 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
197 syn match objcClass /NSMutableCharacterSet\s*\*/me=s+21,he=s+21 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
198 syn keyword objcConstVar NSOpenStepUnicodeReservedBase |
4869 | 199 " NSURL.h |
200 syn match objcClass /NSURL\s*\*/me=s+5,he=s+5 | |
201 syn keyword objcEnum NSURLBookmarkCreationOptions | |
202 syn keyword objcEnumValue NSURLBookmarkCreationPreferFileIDResolution NSURLBookmarkCreationMinimalBookmark NSURLBookmarkCreationSuitableForBookmarkFile NSURLBookmarkCreationWithSecurityScope NSURLBookmarkCreationSecurityScopeAllowOnlyReadAccess | |
203 syn keyword objcEnum NSURLBookmarkResolutionOptions | |
204 syn keyword objcEnumValue NSURLBookmarkResolutionWithoutUI NSURLBookmarkResolutionWithoutMounting NSURLBookmarkResolutionWithSecurityScope | |
205 syn keyword objcType NSURLBookmarkFileCreationOptions | |
206 syn keyword objcConstVar NSURLFileScheme NSURLKeysOfUnsetValuesKey | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
207 syn keyword objcConstVar NSURLNameKey NSURLLocalizedNameKey NSURLIsRegularFileKey NSURLIsDirectoryKey NSURLIsSymbolicLinkKey NSURLIsVolumeKey NSURLIsPackageKey NSURLIsApplicationKey NSURLApplicationIsScriptableKey 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 NSURLTagNamesKey NSURLPathKey NSURLIsMountTriggerKey NSURLGenerationIdentifierKey NSURLDocumentIdentifierKey NSURLAddedToDirectoryDateKey NSURLQuarantinePropertiesKey NSURLFileResourceTypeKey |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
208 syn keyword objcConstVar NSURLFileResourceTypeNamedPipe NSURLFileResourceTypeCharacterSpecial NSURLFileResourceTypeDirectory NSURLFileResourceTypeBlockSpecial NSURLFileResourceTypeRegular NSURLFileResourceTypeSymbolicLink NSURLFileResourceTypeSocket NSURLFileResourceTypeUnknown NSURLThumbnailDictionaryKey NSURLThumbnailKey NSThumbnail1024x1024SizeKey |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
209 syn keyword objcConstVar NSURLFileSizeKey NSURLFileAllocatedSizeKey NSURLTotalFileSizeKey NSURLTotalFileAllocatedSizeKey NSURLIsAliasFileKey NSURLFileProtectionKey NSURLFileProtectionNone NSURLFileProtectionComplete NSURLFileProtectionCompleteUnlessOpen NSURLFileProtectionCompleteUntilFirstUserAuthentication |
4869 | 210 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 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
211 syn keyword objcConstVar NSURLIsUbiquitousItemKey NSURLUbiquitousItemHasUnresolvedConflictsKey NSURLUbiquitousItemIsDownloadedKey NSURLUbiquitousItemIsDownloadingKey NSURLUbiquitousItemIsUploadedKey NSURLUbiquitousItemIsUploadingKey NSURLUbiquitousItemPercentDownloadedKey NSURLUbiquitousItemPercentUploadedKey NSURLUbiquitousItemDownloadingStatusKey NSURLUbiquitousItemDownloadingErrorKey NSURLUbiquitousItemUploadingErrorKey NSURLUbiquitousItemDownloadRequestedKey NSURLUbiquitousItemContainerDisplayNameKey NSURLUbiquitousItemDownloadingStatusNotDownloaded NSURLUbiquitousItemDownloadingStatusDownloaded NSURLUbiquitousItemDownloadingStatusCurrent |
4869 | 212 """""""""""" |
213 " NSString.h | |
214 syn match objcClass /NSString\s*\*/me=s+8,he=s+8 | |
215 syn match objcClass /NSMutableString\s*\*/me=s+15,he=s+15 | |
216 syn keyword objcType unichar | |
217 syn keyword objcExceptionValue NSParseErrorException NSCharacterConversionException | |
218 syn keyword objcMacro NSMaximumStringLength | |
219 syn keyword objcEnum NSStringCompareOptions | |
220 syn keyword objcEnumValue NSCaseInsensitiveSearch NSLiteralSearch NSBackwardsSearch NSAnchoredSearch NSNumericSearch NSDiacriticInsensitiveSearch NSWidthInsensitiveSearch NSForcedOrderingSearch NSRegularExpressionSearch | |
221 syn keyword objcEnum NSStringEncoding | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
222 syn keyword objcEnumValue NSProprietaryStringEncoding |
4869 | 223 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 |
224 syn keyword objcEnum NSStringEncodingConversionOptions | |
225 syn keyword objcEnumValue NSStringEncodingConversionAllowLossy NSStringEncodingConversionExternalRepresentation | |
226 syn keyword objcEnum NSStringEnumerationOptions | |
227 syn keyword objcEnumValue NSStringEnumerationByLines NSStringEnumerationByParagraphs NSStringEnumerationByComposedCharacterSequences NSStringEnumerationByWords NSStringEnumerationBySentences NSStringEnumerationReverse NSStringEnumerationSubstringNotRequired NSStringEnumerationLocalized | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
228 syn keyword objcConstVar NSStringTransformLatinToKatakana NSStringTransformLatinToHiragana NSStringTransformLatinToHangul NSStringTransformLatinToArabic NSStringTransformLatinToHebrew NSStringTransformLatinToThai NSStringTransformLatinToCyrillic NSStringTransformLatinToGreek NSStringTransformToLatin NSStringTransformMandarinToLatin NSStringTransformHiraganaToKatakana NSStringTransformFullwidthToHalfwidth NSStringTransformToXMLHex NSStringTransformToUnicodeName NSStringTransformStripCombiningMarks NSStringTransformStripDiacritics |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
229 syn keyword objcConstVar NSStringEncodingDetectionSuggestedEncodingsKey NSStringEncodingDetectionDisallowedEncodingsKey NSStringEncodingDetectionUseOnlySuggestedEncodingsKey NSStringEncodingDetectionAllowLossyKey NSStringEncodingDetectionFromWindowsKey NSStringEncodingDetectionLossySubstitutionKey NSStringEncodingDetectionLikelyLanguageKey |
4869 | 230 " NSAttributedString.h |
231 syn match objcClass /NSAttributedString\s*\*/me=s+18,he=s+18 | |
232 syn match objcClass /NSMutableAttributedString\s*\*/me=s+25,he=s+25 | |
233 syn keyword objcEnum NSAttributedStringEnumerationOptions | |
234 syn keyword objcEnumValue NSAttributedStringEnumerationReverse NSAttributedStringEnumerationLongestEffectiveRangeNotRequired | |
235 " NSValue.h | |
236 syn match objcClass /NSValue\s*\*/me=s+7,he=s+7 | |
237 syn match objcClass /NSNumber\s*\*/me=s+8,he=s+8 | |
238 " NSDecimalNumber.h | |
239 syn match objcClass /NSDecimalNumber\s*\*/me=s+15,he=s+15 | |
240 syn match objcClass /NSDecimalNumberHandler\s*\*/me=s+22,he=s+22 | |
241 syn keyword objcExceptionValue NSDecimalNumberExactnessException NSDecimalNumberOverflowException NSDecimalNumberUnderflowException NSDecimalNumberDivideByZeroException | |
242 " NSData.h | |
243 syn match objcClass /NSData\s*\*/me=s+6,he=s+6 | |
244 syn match objcClass /NSMutableData\s*\*/me=s+13,he=s+13 | |
245 syn keyword objcEnum NSDataReadingOptions | |
246 syn keyword objcEnumValue NSDataReadingMappedIfSafe NSDataReadingUncached NSDataReadingMappedAlways NSDataReadingMapped NSMappedRead NSUncachedRead | |
247 syn keyword objcEnum NSDataWritingOptions | |
248 syn keyword objcEnumValue NSDataWritingAtomic NSDataWritingWithoutOverwriting NSDataWritingFileProtectionNone NSDataWritingFileProtectionComplete NSDataWritingFileProtectionCompleteUnlessOpen NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication NSDataWritingFileProtectionMask NSAtomicWrite | |
249 syn keyword objcEnum NSDataSearchOptions | |
250 syn keyword objcEnumValue NSDataSearchBackwards NSDataSearchAnchored | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
251 syn keyword objcEnum NSDataBase64EncodingOptions NSDataBase64DecodingOptions |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
252 syn keyword objcEnumValue NSDataBase64Encoding64CharacterLineLength NSDataBase64Encoding76CharacterLineLength NSDataBase64EncodingEndLineWithCarriageReturn NSDataBase64EncodingEndLineWithLineFeed NSDataBase64DecodingIgnoreUnknownCharacters |
4869 | 253 " NSArray.h |
254 syn match objcClass /NSArray\s*\*/me=s+7,he=s+7 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
255 syn match objcClass /NSArray<.*>\s*\*/me=s+7,he=s+7 contains=objcTypeInfoParams |
4869 | 256 syn match objcClass /NSMutableArray\s*\*/me=s+14,he=s+14 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
257 syn match objcClass /NSMutableArray<.*>\s*\*/me=s+14,he=s+14 contains=objcTypeInfoParams |
4869 | 258 syn keyword objcEnum NSBinarySearchingOptions |
259 syn keyword objcEnumValue NSBinarySearchingFirstEqual NSBinarySearchingLastEqual NSBinarySearchingInsertionIndex | |
260 " NSDictionary.h | |
261 syn match objcClass /NSDictionary\s*\*/me=s+12,he=s+12 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
262 syn match objcClass /NSDictionary<.*>\s*\*/me=s+12,he=s+12 contains=objcTypeInfoParams |
4869 | 263 syn match objcClass /NSMutableDictionary\s*\*/me=s+19,he=s+19 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
264 syn match objcClass /NSMutableDictionary<.*>\s*\*/me=s+19,he=s+19 contains=objcTypeInfoParams |
4869 | 265 " NSSet.h |
266 syn match objcClass /NSSet\s*\*/me=s+5,me=s+5 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
267 syn match objcClass /NSSet<.*>\s*\*/me=s+5,me=s+5 contains=objcTypeInfoParams |
4869 | 268 syn match objcClass /NSMutableSet\s*\*/me=s+12,me=s+12 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
269 syn match objcClass /NSMutableSet<.*>\s*\*/me=s+12,me=s+12 contains=objcTypeInfoParams |
4869 | 270 syn match objcClass /NSCountedSet\s*\*/me=s+12,me=s+12 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
271 syn match objcClass /NSCountedSet<.*>\s*\*/me=s+12,me=s+12 contains=objcTypeInfoParams |
4869 | 272 " NSOrderedSet.h |
273 syn match objcClass /NSOrderedSet\s*\*/me=s+12,me=s+12 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
274 syn match objcClass /NSOrderedSet<.*>\s*\*/me=s+12,me=s+12 contains=objcTypeInfoParams |
4869 | 275 syn match objcClass /NSMutableOrderedSet\s*\*/me=s+19,me=s+19 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
276 syn match objcClass /NSMutableOrderedSet<.*>\s*\*/me=s+19,me=s+19 |
4869 | 277 """"""""""""""""""" |
278 " NSPathUtilities.h | |
279 syn keyword objcEnum NSSearchPathDirectory | |
280 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 | |
281 syn keyword objcEnum NSSearchPathDomainMask | |
282 syn keyword objcEnumValue NSUserDomainMask NSLocalDomainMask NSNetworkDomainMask NSSystemDomainMask NSAllDomainsMask | |
283 " NSFileManger.h | |
284 syn match objcClass /NSFileManager\s*\*/me=s+13,he=s+13 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
285 syn match objcClass /NSDirectoryEnumerator\s*\*/me=s+21,he=s+21 contains=objcTypeInfoParams |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
286 syn match objcClass /NSDirectoryEnumerator<.*>\s*\*/me=s+21,he=s+21 |
4869 | 287 syn keyword objcEnum NSVolumeEnumerationOptions |
288 syn keyword objcEnumValue NSVolumeEnumerationSkipHiddenVolumes NSVolumeEnumerationProduceFileReferenceURLs | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
289 syn keyword objcEnum NSURLRelationship |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
290 syn keyword objcEnumValue NSURLRelationshipContains NSURLRelationshipSame NSURLRelationshipOther |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
291 syn keyword objcEnum NSFileManagerUnmountOptions |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
292 syn keyword objcEnumValue NSFileManagerUnmountAllPartitionsAndEjectDisk NSFileManagerUnmountWithoutUI |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
293 syn keyword objcConstVar NSFileManagerUnmountDissentingProcessIdentifierErrorKey |
4869 | 294 syn keyword objcEnum NSDirectoryEnumerationOptions |
295 syn keyword objcEnumValue NSDirectoryEnumerationSkipsSubdirectoryDescendants NSDirectoryEnumerationSkipsPackageDescendants NSDirectoryEnumerationSkipsHiddenFiles | |
296 syn keyword objcEnum NSFileManagerItemReplacementOptions | |
297 syn keyword objcEnumValue NSFileManagerItemReplacementUsingNewMetadataOnly NSFileManagerItemReplacementWithoutDeletingBackupItem | |
298 syn keyword objcNotificationValue NSUbiquityIdentityDidChangeNotification | |
299 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 | |
300 " NSFileHandle.h | |
301 syn match objcClass /NSFileHandle\s*\*/me=s+12,he=s+12 | |
302 syn keyword objcExceptionValue NSFileHandleOperationException | |
303 syn keyword objcNotificationValue NSFileHandleReadCompletionNotification NSFileHandleReadToEndOfFileCompletionNotification NSFileHandleConnectionAcceptedNotification NSFileHandleDataAvailableNotification NSFileHandleNotificationDataItem NSFileHandleNotificationFileHandleItem NSFileHandleNotificationMonitorModes | |
304 syn match objcClass /NSPipe\s*\*/me=s+6,he=s+6 | |
305 """""""""""" | |
306 " NSLocale.h | |
307 syn match objcClass /NSLocale\s*\*/me=s+8,he=s+8 | |
308 syn keyword objcEnum NSLocaleLanguageDirection | |
309 syn keyword objcEnumValue NSLocaleLanguageDirectionUnknown NSLocaleLanguageDirectionLeftToRight NSLocaleLanguageDirectionRightToLeft NSLocaleLanguageDirectionTopToBottom NSLocaleLanguageDirectionBottomToTop | |
310 syn keyword objcNotificationValue NSCurrentLocaleDidChangeNotification | |
311 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 | |
312 " NSFormatter.h | |
313 syn match objcClass /NSFormatter\s*\*/me=s+11,he=s+11 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
314 syn keyword objcEnum NSFormattingContext NSFormattingUnitStyle |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
315 syn keyword objcEnumValue NSFormattingContextUnknown NSFormattingContextDynamic NSFormattingContextStandalone NSFormattingContextListItem NSFormattingContextBeginningOfSentence NSFormattingContextMiddleOfSentence NSFormattingUnitStyleShort NSFormattingUnitStyleMedium NSFormattingUnitStyleLong |
4869 | 316 " NSNumberFormatter.h |
317 syn match objcClass /NSNumberFormatter\s*\*/me=s+17,he=s+17 | |
318 syn keyword objcEnum NSNumberFormatterStyle | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
319 syn keyword objcEnumValue NSNumberFormatterNoStyle NSNumberFormatterDecimalStyle NSNumberFormatterCurrencyStyle NSNumberFormatterPercentStyle NSNumberFormatterScientificStyle NSNumberFormatterSpellOutStyle NSNumberFormatterOrdinalStyle NSNumberFormatterCurrencyISOCodeStyle NSNumberFormatterCurrencyPluralStyle NSNumberFormatterCurrencyAccountingStyle |
4869 | 320 syn keyword objcEnum NSNumberFormatterBehavior |
321 syn keyword objcEnumValue NSNumberFormatterBehaviorDefault NSNumberFormatterBehavior10_0 NSNumberFormatterBehavior10_4 | |
322 syn keyword objcEnum NSNumberFormatterPadPosition | |
323 syn keyword objcEnumValue NSNumberFormatterPadBeforePrefix NSNumberFormatterPadAfterPrefix NSNumberFormatterPadBeforeSuffix NSNumberFormatterPadAfterSuffix | |
324 syn keyword objcEnum NSNumberFormatterRoundingMode | |
325 syn keyword objcEnumValue NSNumberFormatterRoundCeiling NSNumberFormatterRoundFloor NSNumberFormatterRoundDown NSNumberFormatterRoundUp NSNumberFormatterRoundHalfEven NSNumberFormatterRoundHalfDown NSNumberFormatterRoundHalfUp | |
326 " NSDateFormatter.h | |
327 syn match objcClass /NSDateFormatter\s*\*/me=s+15,he=s+15 | |
328 syn keyword objcEnum NSDateFormatterStyle | |
329 syn keyword objcEnumValue NSDateFormatterNoStyle NSDateFormatterShortStyle NSDateFormatterMediumStyle NSDateFormatterLongStyle NSDateFormatterFullStyle | |
330 syn keyword objcEnum NSDateFormatterBehavior | |
331 syn keyword objcEnumValue NSDateFormatterBehaviorDefault NSDateFormatterBehavior10_0 NSDateFormatterBehavior10_4 | |
332 " NSCalendar.h | |
333 syn match objcClass /NSCalendar\s*\*/me=s+10,he=s+10 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
334 syn keyword objcConstVar NSCalendarIdentifierGregorian NSCalendarIdentifierBuddhist NSCalendarIdentifierChinese NSCalendarIdentifierCoptic NSCalendarIdentifierEthiopicAmeteMihret NSCalendarIdentifierEthiopicAmeteAlem NSCalendarIdentifierHebrew NSCalendarIdentifierISO8601 NSCalendarIdentifierIndian NSCalendarIdentifierIslamic NSCalendarIdentifierIslamicCivil NSCalendarIdentifierJapanese NSCalendarIdentifierPersian NSCalendarIdentifierRepublicOfChina NSCalendarIdentifierIslamicTabular NSCalendarIdentifierIslamicUmmAlQura |
4869 | 335 syn keyword objcEnum NSCalendarUnit |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
336 syn keyword objcEnumValue NSCalendarUnitEra NSCalendarUnitYear NSCalendarUnitMonth NSCalendarUnitDay NSCalendarUnitHour NSCalendarUnitMinute NSCalendarUnitSecond NSCalendarUnitWeekday NSCalendarUnitWeekdayOrdinal NSCalendarUnitQuarter NSCalendarUnitWeekOfMonth NSCalendarUnitWeekOfYear NSCalendarUnitYearForWeekOfYear NSCalendarUnitNanosecond NSCalendarUnitCalendar NSCalendarUnitTimeZone |
4869 | 337 syn keyword objcEnumValue NSEraCalendarUnit NSYearCalendarUnit NSMonthCalendarUnit NSDayCalendarUnit NSHourCalendarUnit NSMinuteCalendarUnit NSSecondCalendarUnit NSWeekCalendarUnit NSWeekdayCalendarUnit NSWeekdayOrdinalCalendarUnit NSQuarterCalendarUnit NSWeekOfMonthCalendarUnit NSWeekOfYearCalendarUnit NSYearForWeekOfYearCalendarUnit NSCalendarCalendarUnit NSTimeZoneCalendarUnit |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
338 syn keyword objcEnumValue NSWrapCalendarComponents NSUndefinedDateComponent NSDateComponentUndefined |
4869 | 339 syn match objcClass /NSDateComponents\s*\*/me=s+16,he=s+16 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
340 syn keyword objcEnum NSCalendarOptions |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
341 syn keyword objcEnumValue NSCalendarWrapComponents NSCalendarMatchStrictly NSCalendarSearchBackwards NSCalendarMatchPreviousTimePreservingSmallerUnits NSCalendarMatchNextTimePreservingSmallerUnits NSCalendarMatchNextTime NSCalendarMatchFirst NSCalendarMatchLast |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
342 syn keyword objcConstVar NSCalendarDayChangedNotification |
4869 | 343 " NSTimeZone.h |
344 syn match objcClass /NSTimeZone\s*\*/me=s+10,he=s+10 | |
345 syn keyword objcEnum NSTimeZoneNameStyle | |
346 syn keyword objcEnumValue NSTimeZoneNameStyleStandard NSTimeZoneNameStyleShortStandard NSTimeZoneNameStyleDaylightSaving NSTimeZoneNameStyleShortDaylightSaving NSTimeZoneNameStyleGeneric NSTimeZoneNameStyleShortGeneric | |
347 syn keyword objcNotificationValue NSSystemTimeZoneDidChangeNotification | |
348 """"""""""" | |
349 " NSCoder.h | |
350 syn match objcClass /NSCoder\s*\*/me=s+7,he=s+7 | |
351 " NSArchiver.h | |
352 syn match objcClass /NSArchiver\s*\*/me=s+10,he=s+10 | |
353 syn match objcClass /NSUnarchiver\s*\*/me=s+12,he=s+12 | |
354 syn keyword objcExceptionValue NSInconsistentArchiveException | |
355 " NSKeyedArchiver.h | |
356 syn match objcClass /NSKeyedArchiver\s*\*/me=s+15,he=s+15 | |
357 syn match objcClass /NSKeyedUnarchiver\s*\*/me=s+17,he=s+17 | |
358 syn keyword objcExceptionValue NSInvalidArchiveOperationException NSInvalidUnarchiveOperationException | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
359 syn keyword objcConstVar NSKeyedArchiveRootObjectKey |
4869 | 360 """""""""""""""""" |
361 " NSPropertyList.h | |
362 syn keyword objcEnum NSPropertyListMutabilityOptions | |
363 syn keyword objcEnumValue NSPropertyListImmutable NSPropertyListMutableContainers NSPropertyListMutableContainersAndLeaves | |
364 syn keyword objcEnum NSPropertyListFormat | |
365 syn keyword objcEnumValue NSPropertyListOpenStepFormat NSPropertyListXMLFormat_v1_0 NSPropertyListBinaryFormat_v1_0 | |
366 syn keyword objcType NSPropertyListReadOptions NSPropertyListWriteOptions | |
367 " NSUserDefaults.h | |
368 syn match objcClass /NSUserDefaults\s*\*/me=s+14,he=s+14 | |
369 syn keyword objcConstVar NSGlobalDomain NSArgumentDomain NSRegistrationDomain | |
370 syn keyword objcNotificationValue NSUserDefaultsDidChangeNotification | |
371 " NSBundle.h | |
372 syn match objcClass /NSBundle\s*\*/me=s+8,he=s+8 | |
373 syn keyword objcEnumValue NSBundleExecutableArchitectureI386 NSBundleExecutableArchitecturePPC NSBundleExecutableArchitectureX86_64 NSBundleExecutableArchitecturePPC64 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
374 syn keyword objcNotificationValue NSBundleDidLoadNotification NSLoadedClasses NSBundleResourceRequestLowDiskSpaceNotification |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
375 syn keyword objcConstVar NSBundleResourceRequestLoadingPriorityUrgent |
4869 | 376 """"""""""""""""" |
377 " NSProcessInfo.h | |
378 syn match objcClass /NSProcessInfo\s*\*/me=s+13,he=s+13 | |
379 syn keyword objcEnumValue NSWindowsNTOperatingSystem NSWindows95OperatingSystem NSSolarisOperatingSystem NSHPUXOperatingSystem NSMACHOperatingSystem NSSunOSOperatingSystem NSOSF1OperatingSystem | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
380 syn keyword objcType NSOperatingSystemVersion |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
381 syn keyword objcEnum NSActivityOptions NSProcessInfoThermalState |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
382 syn keyword objcEnumValue NSActivityIdleDisplaySleepDisabled NSActivityIdleSystemSleepDisabled NSActivitySuddenTerminationDisabled NSActivityAutomaticTerminationDisabled NSActivityUserInitiated NSActivityUserInitiatedAllowingIdleSystemSleep NSActivityBackground NSActivityLatencyCritical NSProcessInfoThermalStateNominal NSProcessInfoThermalStateFair NSProcessInfoThermalStateSerious NSProcessInfoThermalStateCritical |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
383 syn keyword objcNotificationValue NSProcessInfoThermalStateDidChangeNotification NSProcessInfoPowerStateDidChangeNotification |
4869 | 384 " NSTask.h |
385 syn match objcClass /NSTask\s*\*/me=s+6,he=s+6 | |
386 syn keyword objcEnum NSTaskTerminationReason | |
387 syn keyword objcEnumValue NSTaskTerminationReasonExit NSTaskTerminationReasonUncaughtSignal | |
388 syn keyword objcNotificationValue NSTaskDidTerminateNotification | |
389 " NSThread.h | |
390 syn match objcClass /NSThread\s*\*/me=s+8,he=s+8 | |
391 syn keyword objcNotificationValue NSWillBecomeMultiThreadedNotification NSDidBecomeSingleThreadedNotification NSThreadWillExitNotification | |
392 " NSLock.h | |
393 syn match objcClass /NSLock\s*\*/me=s+6,he=s+6 | |
394 syn match objcClass /NSConditionLock\s*\*/me=s+15,he=s+15 | |
395 syn match objcClass /NSRecursiveLock\s*\*/me=s+15,he=s+15 | |
396 " NSDictributedLock | |
397 syn match objcClass /NSDistributedLock\s*\*/me=s+17,he=s+17 | |
398 " NSOperation.h | |
399 """""""""""""""" | |
400 syn match objcClass /NSOperation\s*\*/me=s+11,he=s+11 | |
401 syn keyword objcEnum NSOperationQueuePriority | |
402 syn keyword objcEnumValue NSOperationQueuePriorityVeryLow NSOperationQueuePriorityLow NSOperationQueuePriorityNormal NSOperationQueuePriorityHigh NSOperationQueuePriorityVeryHigh | |
403 syn match objcClass /NSBlockOperation\s*\*/me=s+16,he=s+16 | |
404 syn match objcClass /NSInvocationOperation\s*\*/me=s+21,he=s+21 | |
405 syn keyword objcExceptionValue NSInvocationOperationVoidResultException NSInvocationOperationCancelledException | |
406 syn match objcClass /NSOperationQueue\s*\*/me=s+16,he=s+16 | |
407 syn keyword objcEnumValue NSOperationQueueDefaultMaxConcurrentOperationCount | |
408 " NSConnection.h | |
409 syn match objcClass /NSConnection\s*\*/me=s+12,he=s+12 | |
410 syn keyword objcConstVar NSConnectionReplyMode | |
411 syn keyword objcNotificationValue NSConnectionDidDieNotification NSConnectionDidInitializeNotification | |
412 syn keyword objcExceptionValue NSFailedAuthenticationException | |
413 " NSPort.h | |
414 syn match objcClass /NSPort\s*\*/me=s+6,he=s+6 | |
415 syn keyword objcType NSSocketNativeHandle | |
416 syn keyword objcNotificationValue NSPortDidBecomeInvalidNotification | |
417 syn match objcClass /NSMachPort\s*\*/me=s+10,he=s+10 | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
418 syn keyword objcEnum NSMachPortOptions |
4869 | 419 syn keyword objcEnumValue NSMachPortDeallocateNone NSMachPortDeallocateSendRight NSMachPortDeallocateReceiveRight |
420 syn match objcClass /NSMessagePort\s*\*/me=s+13,he=s+13 | |
421 syn match objcClass /NSSocketPort\s*\*/me=s+12,he=s+12 | |
422 " NSPortMessage.h | |
423 syn match objcClass /NSPortMessage\s*\*/me=s+13,he=s+13 | |
424 " NSDistantObject.h | |
425 syn match objcClass /NSDistantObject\s*\*/me=s+15,he=s+15 | |
426 " NSPortNameServer.h | |
427 syn match objcClass /NSPortNameServer\s*\*/me=s+16,he=s+16 | |
428 syn match objcClass /NSMessagePortNameServer\s*\*/me=s+23,he=s+23 | |
429 syn match objcClass /NSSocketPortNameServer\s*\*/me=s+22,he=s+22 | |
430 " NSHost.h | |
431 syn match objcClass /NSHost\s*\*/me=s+6,he=s+6 | |
432 " NSInvocation.h | |
433 syn match objcClass /NSInvocation\s*\*/me=s+12,he=s+12 | |
434 " NSMethodSignature.h | |
435 syn match objcClass /NSMethodSignature\s*\*/me=s+17,he=s+17 | |
436 """"" | |
437 " NSScanner.h | |
438 syn match objcClass /NSScanner\s*\*/me=s+9,he=s+9 | |
439 " NSTimer.h | |
440 syn match objcClass /NSTimer\s*\*/me=s+7,he=s+7 | |
441 " NSAutoreleasePool.h | |
442 syn match objcClass /NSAutoreleasePool\s*\*/me=s+17,he=s+17 | |
443 " NSRunLoop.h | |
444 syn match objcClass /NSRunLoop\s*\*/me=s+9,he=s+9 | |
445 syn keyword objcConstVar NSDefaultRunLoopMode NSRunLoopCommonModes | |
446 " NSNull.h | |
447 syn match objcClass /NSNull\s*\*/me=s+6,he=s+6 | |
448 " NSProxy.h | |
449 syn match objcClass /NSProxy\s*\*/me=s+7,he=s+7 | |
450 " NSObject.h | |
451 syn match objcClass /NSObject\s*\*/me=s+8,he=s+8 | |
7 | 452 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
453 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
454 " NSCache.h |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
455 syn match objcClass /NSCache\s*\*/me=s+7,he=s+7 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
456 syn match objcClass /NSCache<.*>\s*\*/me=s+7,he=s+7 contains=objcTypeInfoParams |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
457 " NSHashTable.h |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
458 syn match objcClass /NSHashTable\s*\*/me=s+11,he=s+11 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
459 syn match objcClass /NSHashTable<.*>\s*\*/me=s+11,he=s+11 contains=objcTypeInfoParams |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
460 syn keyword objcConstVar NSHashTableStrongMemory NSHashTableZeroingWeakMemory NSHashTableCopyIn NSHashTableObjectPointerPersonality NSHashTableWeakMemory |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
461 syn keyword objcType NSHashTableOptions NSHashEnumerator NSHashTableCallBacks |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
462 syn keyword objcConstVar NSIntegerHashCallBacks NSNonOwnedPointerHashCallBacks NSNonRetainedObjectHashCallBacks NSObjectHashCallBacks NSOwnedObjectIdentityHashCallBacks NSOwnedPointerHashCallBacks NSPointerToStructHashCallBacks NSOwnedObjectIdentityHashCallBacks NSOwnedObjectIdentityHashCallBacks NSIntHashCallBacks |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
463 " NSMapTable.h |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
464 syn match objcClass /NSMapTable\s*\*/me=s+10,he=s+10 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
465 syn match objcClass /NSMapTable<.*>\s*\*/me=s+10,he=s+10 contains=objcTypeInfoParams |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
466 syn keyword objcConstVar NSPointerToStructHashCallBacks NSPointerToStructHashCallBacks NSPointerToStructHashCallBacks NSPointerToStructHashCallBacks NSPointerToStructHashCallBacks |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
467 syn keyword objcConstVar NSMapTableStrongMemory NSMapTableZeroingWeakMemory NSMapTableCopyIn NSMapTableObjectPointerPersonality NSMapTableWeakMemory |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
468 syn keyword objcType NSMapTableOptions NSMapEnumerator NSMapTableKeyCallBacks NSMapTableValueCallBacks |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
469 syn keyword objcMacro NSNotAnIntMapKey NSNotAnIntegerMapKey NSNotAPointerMapKey |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
470 syn keyword objcConstVar NSIntegerMapKeyCallBacks NSNonOwnedPointerMapKeyCallBacks NSNonOwnedPointerOrNullMapKeyCallBacks NSNonRetainedObjectMapKeyCallBacks NSObjectMapKeyCallBacks NSOwnedPointerMapKeyCallBacks NSIntMapKeyCallBacks NSIntegerMapValueCallBacks NSNonOwnedPointerMapValueCallBacks NSObjectMapValueCallBacks NSNonRetainedObjectMapValueCallBacks NSOwnedPointerMapValueCallBacks NSIntMapValueCallBacks |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
471 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
472 " NSPointerFunctions.h |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
473 syn match objcClass /NSPointerFunctions\s*\*/me=s+18,he=s+18 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
474 syn keyword objcEnum NSPointerFunctionsOptions |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
475 syn keyword objcEnumValue NSPointerFunctionsStrongMemory NSPointerFunctionsZeroingWeakMemory NSPointerFunctionsOpaqueMemory NSPointerFunctionsMallocMemory NSPointerFunctionsMachVirtualMemory NSPointerFunctionsWeakMemory NSPointerFunctionsObjectPersonality NSPointerFunctionsOpaquePersonality NSPointerFunctionsObjectPointerPersonality NSPointerFunctionsCStringPersonality NSPointerFunctionsStructPersonality NSPointerFunctionsIntegerPersonality NSPointerFunctionsCopyIn |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
476 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
477 |
4869 | 478 """ Default Highlighting |
479 hi def link objcPreProcMacro cConstant | |
480 hi def link objcPrincipalType cType | |
481 hi def link objcUsefulTerm cConstant | |
482 hi def link objcImport cInclude | |
483 hi def link objcImported cString | |
484 hi def link objcObjDef cOperator | |
485 hi def link objcProtocol cOperator | |
486 hi def link objcProperty cOperator | |
487 hi def link objcIvarScope cOperator | |
488 hi def link objcInternalRep cOperator | |
489 hi def link objcException cOperator | |
490 hi def link objcThread cOperator | |
491 hi def link objcPool cOperator | |
4911 | 492 hi def link objcModuleImport cOperator |
4869 | 493 hi def link objcSpecial cSpecial |
494 hi def link objcString cString | |
495 hi def link objcHiddenArgument cStatement | |
496 hi def link objcBlocksQualifier cStorageClass | |
497 hi def link objcObjectLifetimeQualifier cStorageClass | |
498 hi def link objcTollFreeBridgeQualifier cStorageClass | |
499 hi def link objcRemoteMessagingQualifier cStorageClass | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
500 hi def link objcStorageClass cStorageClass |
4869 | 501 hi def link objcFastEnumKeyword cStatement |
502 hi def link objcLiteralSyntaxNumber cNumber | |
503 hi def link objcLiteralSyntaxChar cCharacter | |
504 hi def link objcLiteralSyntaxSpecialChar cCharacter | |
505 hi def link objcLiteralSyntaxOp cOperator | |
506 hi def link objcDeclPropAccessorName cConstant | |
507 hi def link objcDeclPropAccessorType cConstant | |
508 hi def link objcDeclPropAssignSemantics cConstant | |
509 hi def link objcDeclPropAtomicity cConstant | |
510 hi def link objcDeclPropARC cConstant | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
511 hi def link objcDeclPropNullable cConstant |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
512 hi def link objcDeclPropNonnull cConstant |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
513 hi def link objcDeclPropNullUnspecified cConstant |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
514 hi def link objcDeclProcNullResettable cConstant |
4869 | 515 hi def link objcInstanceMethod Function |
516 hi def link objcClassMethod Function | |
517 hi def link objcType cType | |
518 hi def link objcClass cType | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
519 hi def link objcTypeSpecifier cType |
4869 | 520 hi def link objcMacro cConstant |
521 hi def link objcEnum cType | |
522 hi def link objcEnumValue cConstant | |
523 hi def link objcExceptionValue cConstant | |
524 hi def link objcNotificationValue cConstant | |
525 hi def link objcConstVar cConstant | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
4911
diff
changeset
|
526 hi def link objcTypeInfoParams Identifier |
7 | 527 |
4869 | 528 """ Final step |
529 let b:current_syntax = "objc" | |
530 let &cpo = s:cpo_save | |
531 unlet s:cpo_save | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
532 |
4869 | 533 " vim: ts=8 sw=2 sts=2 |