configs  Check-in [564302e990]

Overview
Comment:vim/syntax/objc.vim: Add OF_DIRECT(_MEMBERS)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 564302e9902bb708474e4cec8dbb2fbf13dab6a7be97206d657cc13c436ca436
User & Date: js on 2020-06-27 09:25:28
Other Links: manifest | tags
Context
2020-08-15
15:25
Add flgrep to grep tracked files in a Fossil repo check-in: b6c2a67aab user: js tags: trunk
2020-06-27
09:25
vim/syntax/objc.vim: Add OF_DIRECT(_MEMBERS) check-in: 564302e990 user: js tags: trunk
2020-06-15
20:58
fish: Convert abbreviations to aliases check-in: 8f7cbebaa6 user: js tags: trunk
Changes

Modified vim/syntax/objc.vim from [4f02b6462a] to [55fa1cfbe4].

35
36
37
38
39
40
41

42
43
44
45
46
47
48
syn keyword objcTypeModifier	bycopy in out inout oneway OF_GENERIC OF_INLINE
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	OF_REQUIRES_SUPER OF_ALIGNOF OF_ALIGNAS
syn keyword objcTypeModifier	OF_SENTINEL OF_SUBCLASSING_RESTRICTED

syn keyword objcTypeModifier	_Nonnull _Nullable _Null_unspecified __kindof
syn keyword objcConstant	nil Nil OF_NOT_FOUND

" Match the ObjC #import directive (like C's #include)
syn region objcImported display contained start=+"+  skip=+\\\\\|\\"+  end=+"+
syn match  objcImported display contained "<[-_0-9a-zA-Z.\/]*>"
syn match  objcImport display "^\s*\(%:\|#\)\s*import\>\s*["<]" contains=objcImported







>







35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
syn keyword objcTypeModifier	bycopy in out inout oneway OF_GENERIC OF_INLINE
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	OF_REQUIRES_SUPER OF_ALIGNOF OF_ALIGNAS
syn keyword objcTypeModifier	OF_SENTINEL OF_SUBCLASSING_RESTRICTED
syn keyword objcTypeModifier	OF_DIRECT OF_DIRECT_MEMBERS
syn keyword objcTypeModifier	_Nonnull _Nullable _Null_unspecified __kindof
syn keyword objcConstant	nil Nil OF_NOT_FOUND

" Match the ObjC #import directive (like C's #include)
syn region objcImported display contained start=+"+  skip=+\\\\\|\\"+  end=+"+
syn match  objcImported display contained "<[-_0-9a-zA-Z.\/]*>"
syn match  objcImport display "^\s*\(%:\|#\)\s*import\>\s*["<]" contains=objcImported