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.
1 parent 980b408 commit 6b8eae0Copy full SHA for 6b8eae0
utils/vim/syntax/swift.vim
@@ -69,7 +69,7 @@ syn keyword swiftFuncKeyword nextgroup=swiftTypeParameters
69
70
syn keyword swiftTypeDefinition class extension protocol struct typealias enum skipwhite nextgroup=swiftTypeName
71
72
-syn match swiftTypeName /\<[A-Za-z_][A-Za-z_0-9\.]*\>/ contained nextgroup=swiftTypeParameters
+syn match swiftTypeName /\<[A-Za-z_][A-Za-z_0-9\.]*\>[!?]\?/ contained nextgroup=swiftTypeParameters
73
syn region swiftArrayType start=/\[/ end=/\]/ contained skipwhite nextgroup=swiftTypeName
74
75
syn region swiftTypeParameters start="<" end=">" contained
0 commit comments