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