annotate runtime/syntax/objc.vim @ 6999:dc1b678f0e4e v7.4.817

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