configs  Check-in [590f2da605]

Overview
Comment:vim/syntax/objc.vim: Add OFNotificationName
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 590f2da605eedc47832378f1c489af270f83575a5d527fbb7c0435c55a2918e3
User & Date: js 2021-10-31 16:09:06
Context
2021-11-13
09:17
tmux: Add overrides for xterm* check-in: 517b62895d user: js tags: trunk
2021-10-31
16:09
vim/syntax/objc.vim: Add OFNotificationName check-in: 590f2da605 user: js tags: trunk
15:11
zshrc: Derive MAKEFLAGS on macOS check-in: b29f666976 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to vim/syntax/objc.vim.

133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
syn keyword objcType OFPlainMutex OFPlainRecursiveMutex
syn keyword objcType OFStringEncoding OFTimeInterval
syn keyword objcType OFResolverResult OFFileOffset OFPlainCondition
syn keyword objcType OFSocketHandle OFSpinlock OFTLSKey OFPlainThread
syn keyword objcType OFOptionsParserOption OFHTTPRequestMethod
syn keyword objcType OFHTTPRequestProtocolVersion OFSocketAddress
syn keyword objcType OFFileAttributeKey OFFileType OFFileAttributes
syn keyword objcType OFMutableFileAttributes
syn keyword objcConstant YES NO TRUE FALSE

syn region objcImp start='@implementation' end='@end' transparent
syn region objcHeader start='@interface' end='@end' transparent

syn match objcSubclass '\(@implementation\|@interface\)\@<=\s*\k\+' display contained containedin=objcImp,objcHeader
syn match objcSuperclass '\(@\(implementation\|interface\)\s*\k\+\s*:\)\@<=\s*\k*' display contained containedin=objcImp,objcHeader







|







133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
syn keyword objcType OFPlainMutex OFPlainRecursiveMutex
syn keyword objcType OFStringEncoding OFTimeInterval
syn keyword objcType OFResolverResult OFFileOffset OFPlainCondition
syn keyword objcType OFSocketHandle OFSpinlock OFTLSKey OFPlainThread
syn keyword objcType OFOptionsParserOption OFHTTPRequestMethod
syn keyword objcType OFHTTPRequestProtocolVersion OFSocketAddress
syn keyword objcType OFFileAttributeKey OFFileType OFFileAttributes
syn keyword objcType OFMutableFileAttributes OFNotificationName
syn keyword objcConstant YES NO TRUE FALSE

syn region objcImp start='@implementation' end='@end' transparent
syn region objcHeader start='@interface' end='@end' transparent

syn match objcSubclass '\(@implementation\|@interface\)\@<=\s*\k\+' display contained containedin=objcImp,objcHeader
syn match objcSuperclass '\(@\(implementation\|interface\)\s*\k\+\s*:\)\@<=\s*\k*' display contained containedin=objcImp,objcHeader