configs  Check-in [f5cb068a7c]

Overview
Comment:Update vim config
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f5cb068a7c0e3880226ae44785897e833c7d021451e01e1f808f3f9ab082b637
User & Date: js on 2020-01-21 00:15:08
Other Links: manifest | tags
Context
2020-01-21
00:15
gpg.conf: Set s2k-digest-algo to SHA512 check-in: 6ea954fde6 user: js tags: trunk
00:15
Update vim config check-in: f5cb068a7c user: js tags: trunk
00:14
zshrc: Unset HISTFILE check-in: 28137c16b9 user: js tags: trunk
Changes

Modified vim/syntax/objc.vim from [a9688b4ee8] to [64ed51db8c].

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"
" NOTE: Objective C is abbreviated to ObjC/objc
" and uses *.h, *.m as file extensions!


" ObjC keywords, types, type qualifiers etc.
syn keyword objcStatement	self super _cmd
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_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
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







|







|







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"
" NOTE: Objective C is abbreviated to ObjC/objc
" and uses *.h, *.m as file extensions!


" ObjC keywords, types, type qualifiers etc.
syn keyword objcStatement	self super _cmd
syn keyword objcType		id Class SEL IMP BOOL objc_property_t Ivar
syn keyword objcType		nonnull nullable null_unspecified
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
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
syn keyword objcType of_comparator_t of_byte_order_t of_range_t of_point_t
syn keyword objcType of_dimension_t of_mutex_t of_rmutex_t of_rectangle_t
syn keyword objcType of_string_encoding_t of_time_interval_t
syn keyword objcType of_resolver_result_t of_udp_socket_address_t of_offset_t
syn keyword objcType of_stat_t of_socket_t of_spinlock_t
syn keyword objcType of_options_parser_option_t of_http_request_method_t
syn keyword objcType of_http_request_protocol_version_t of_socket_address_t
syn keyword objcType of_file_attribute_key_t of_file_type_t of_file_attributes_t
syn keyword objcConstant YES NO TRUE FALSE

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







|







128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
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
syn keyword objcType of_comparator_t of_byte_order_t of_range_t of_point_t
syn keyword objcType of_dimension_t of_mutex_t of_rmutex_t of_rectangle_t
syn keyword objcType of_string_encoding_t of_time_interval_t
syn keyword objcType of_resolver_result_t of_udp_socket_address_t of_offset_t
syn keyword objcType of_socket_t of_spinlock_t
syn keyword objcType of_options_parser_option_t of_http_request_method_t
syn keyword objcType of_http_request_protocol_version_t of_socket_address_t
syn keyword objcType of_file_attribute_key_t of_file_type_t of_file_attributes_t
syn keyword objcConstant YES NO TRUE FALSE

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

Modified vimrc from [8f45224ca9] to [af076ae0e3].

24
25
26
27
28
29
30

au BufNewFile,BufRead *.mm :se ft=objcpp
au BufNewFile,BufRead *.v :se ts=4 sw=4
au BufNewFile,BufRead *.vhd :se ts=4 sw=4
au BufNewFile,BufRead *.py :se ts=4 sw=4 et
au BufNewFile,BufRead *.cs :se ts=4 sw=4
au BufNewFile,BufRead *.pas :se ts=2 sw=2 et
au BufNewFile,BufRead *.rb :se ts=2 sw=2 et








>
24
25
26
27
28
29
30
31
au BufNewFile,BufRead *.mm :se ft=objcpp
au BufNewFile,BufRead *.v :se ts=4 sw=4
au BufNewFile,BufRead *.vhd :se ts=4 sw=4
au BufNewFile,BufRead *.py :se ts=4 sw=4 et
au BufNewFile,BufRead *.cs :se ts=4 sw=4
au BufNewFile,BufRead *.pas :se ts=2 sw=2 et
au BufNewFile,BufRead *.rb :se ts=2 sw=2 et
au BufNewFile,BufRead *.xml :se ts=2 sw=2 et