File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ syn match swiftParamDelim contained
104
104
" <Generic Clause> (generics)
105
105
syn region swiftTypeParameters contained contains =swiftArchetype,swiftConstraint
106
106
\ start = " <" end = " >"
107
- syn match swiftArchetype contained skipwhite nextgroup =swiftColonType
107
+ syn match swiftArchetype contained skipwhite nextgroup =swiftTypeDeclaration
108
108
\ /\<[A-Za-z_][A-Za-z_0-9]*\>/
109
109
syn keyword swiftConstraint contained
110
110
\ where
@@ -144,7 +144,7 @@ syn keyword swiftLabel get set
144
144
syn match swiftPreproc / ^\s *#\(\< if\>\|\< else\>\|\< elseif\>\|\< endif\>\) /
145
145
syn region swiftPreprocFalse start =" ^\s *#\< if\>\s\+\< false\> " end =" ^\s *#\(\< else\>\|\< elseif\>\|\< endif\>\) "
146
146
147
- syn match swiftAttribute / @\<\w\+\> /
147
+ syn match swiftAttribute / @\<\w\+\> / skipwhite nextgroup = swiftType
148
148
149
149
syn keyword swiftTodo TODO FIXME contained
150
150
syn keyword swiftNil nil
You can’t perform that action at this time.
0 commit comments