File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,9 @@ syn match swiftTupleIndexNumber contains=swiftDecimal
207
207
syn match swiftDecimal contained
208
208
\ /[0-9]\+/
209
209
210
+ " This is a superset of the Preproc macros below, so it must come FIRST
211
+ syn match swiftFreestandingMacro
212
+ \ /#\<[A-Za-z_][A-Za-z_0-9]*\>/
210
213
syn match swiftPreproc
211
214
\ /#\(\<column\>\|\<dsohandle\>\|\<file\>\|\<line\>\|\<function\>\)/
212
215
syn match swiftPreproc
@@ -271,6 +274,7 @@ hi def link swiftLabel Operator
271
274
hi def link swiftMutating Statement
272
275
hi def link swiftPreproc PreCondit
273
276
hi def link swiftPreprocFalse Comment
277
+ hi def link swiftFreestandingMacro Macro
274
278
hi def link swiftAttribute Type
275
279
hi def link swiftTodo Todo
276
280
hi def link swiftNil Constant
You can’t perform that action at this time.
0 commit comments