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.
2 parents e0b220c + 43d98fe commit 1e171afCopy full SHA for 1e171af
utils/vim/syntax/swift.vim
@@ -180,7 +180,7 @@ syn match swiftPreproc /#\(\<file\>\|\<line\>\|\<function\>\)/
180
syn match swiftPreproc /^\s*#\(\<if\>\|\<else\>\|\<elseif\>\|\<endif\>\|\<error\>\|\<warning\>\)/
181
syn region swiftPreprocFalse start="^\s*#\<if\>\s\+\<false\>" end="^\s*#\(\<else\>\|\<elseif\>\|\<endif\>\)"
182
183
-syn match swiftAttribute /@\<\w\+\>/ skipwhite skipempty nextgroup=swiftType
+syn match swiftAttribute /@\<\w\+\>/ skipwhite skipempty nextgroup=swiftType,swiftTypeDefinition
184
185
syn keyword swiftTodo MARK TODO FIXME contained
186
0 commit comments