File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,8 @@ syntax keyword swiftDebugIdentifier
210
210
\ __FUNCTION__
211
211
\ __LINE__
212
212
213
+ syntax keyword swiftLineDirective #setline
214
+
213
215
syntax region swiftTypeWrapper start =" \v :\s *" skip =" \s *,\s *$*\s *" end =" $\| /" me =e - 1 contains =ALLBUT,swiftInterpolatedWrapper transparent
214
216
syntax region swiftGenericsWrapper start =" \v\< " end =" \v\> " contains =swiftType transparent oneline
215
217
syntax region swiftLiteralWrapper start =" \v\=\s *" skip =" \v [^\[\] ]\(\) " end =" \v (\[\] |\(\) )" contains =ALL transparent oneline
@@ -263,6 +265,7 @@ highlight default link swiftAvailability Normal
263
265
highlight default link swiftAvailabilityArg Normal
264
266
highlight default link swiftPlatforms Keyword
265
267
highlight default link swiftDebugIdentifier PreProc
268
+ highlight default link swiftLineDirective PreProc
266
269
267
270
" Force vim to sync at least x lines. This solves the multiline comment not
268
271
" being highlighted issue
You can’t perform that action at this time.
0 commit comments