We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
autoreleasepool
1 parent 6435ba6 commit 314699eCopy full SHA for 314699e
utils/vim/syntax/swift.vim
@@ -69,6 +69,9 @@ syn keyword swiftFuncKeyword nextgroup=swiftTypeParameters
69
\ init
70
\ subscript
71
72
+syn keyword swiftScope
73
+ \ autoreleasepool
74
+
75
syn keyword swiftTypeDefinition class extension protocol struct typealias enum skipwhite nextgroup=swiftTypeName
76
77
syn match swiftTypeName /\<[A-Za-z_][A-Za-z_0-9\.]*\>[!?]\?/ contained nextgroup=swiftTypeParameters
@@ -161,5 +164,6 @@ hi def link swiftTodo Todo
161
164
hi def link swiftNil Constant
162
165
hi def link swiftCastOp Operator
163
166
hi def link swiftNilOps Operator
167
+hi def link swiftScope PreProc
168
169
let b:current_syntax = "swift"
0 commit comments