1
1
Fork 0

Update vim configs

This commit is contained in:
Jonathan Schleifer 2017-06-05 20:24:36 +00:00
parent 9e10eab956
commit 7f03e98a03
2 changed files with 9 additions and 4 deletions

View file

@ -30,10 +30,13 @@ endif
" ObjC keywords, types, type qualifiers etc.
syn keyword objcStatement self super _cmd
syn keyword objcType id Class SEL IMP BOOL nonnull nullable
syn keyword objcType id Class SEL IMP BOOL
syn keyword objcType nonnull nullable null_unspecified
syn keyword objcTypeModifier bycopy in out inout oneway OF_GENERIC OF_INLINE
syn keyword objcTypeModifier OF_CONST_FUNC OF_NO_RETURN
syn keyword objcTypeModifier OF_KINDOF OF_CONST_FUNC OF_NO_RETURN
syn keyword objcTypeModifier OF_RETURNS_INNER_POINTER OF_NULLABLE_PROPERTY
syn keyword objcTypeModifier OF_NULL_RESETTABLE_PROPERTY OF_UNAVAILABLE
syn keyword objcTypeModifier OF_DESIGNATED_INITIALIZER OF_METHOD_FAMILY
syn keyword objcTypeModifier _Nonnull _Nullable _Null_unspecified __kindof
syn keyword objcConstant nil Nil
@ -118,7 +121,8 @@ let b:current_syntax = "objc"
" cocoa.vim plugin).
" Last Updated: May 3, 2015
syn match objcDirective '@synthesize\|@property\|@optional\|@required\|@autoreleasepool' display
syn match objcDirective '@synthesize\|@dynamic\|@property' display
syn match objcDirective '@optional\|@required\|@autoreleasepool' display
syn keyword objcType IBOutlet IBAction Method __block instancetype
syn keyword objcType __unsafe_unretained __bridge __bridge_retained __bridge_transfer __autoreleasing __strong __weak
syn keyword objcType of_unichar_t of_char16_t of_char32_t of_comparison_result_t