File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,12 @@ syn keyword rustStructure struct enum nextgroup=rustIdentifier skipwhite skipe
21
21
syn keyword rustUnion union nextgroup =rustIdentifier skipwhite skipempty contained
22
22
syn match rustUnionContextual / \< union\_ s\+\% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) */ transparent contains =rustUnion
23
23
syn keyword rustOperator as
24
+ syn keyword rustExistential existential nextgroup =rustTypedef skipwhite skipempty contained
25
+ syn match rustExistentialContextual / \< existential\_ s\+ type/ transparent contains =rustExistential,rustTypedef
24
26
25
27
syn match rustAssert " \< assert\(\w\) *!" contained
26
28
syn match rustPanic " \< panic\(\w\) *!" contained
29
+ syn keyword rustKeyword async
27
30
syn keyword rustKeyword break
28
31
syn keyword rustKeyword box nextgroup =rustBoxPlacement skipwhite skipempty
29
32
syn keyword rustKeyword continue
@@ -291,6 +294,7 @@ hi def link rustDynKeyword rustKeyword
291
294
hi def link rustTypedef Keyword " More precise is Typedef, but it doesn't feel right for Rust
292
295
hi def link rustStructure Keyword " More precise is Structure
293
296
hi def link rustUnion rustStructure
297
+ hi def link rustExistential rustKeyword
294
298
hi def link rustPubScopeDelim Delimiter
295
299
hi def link rustPubScopeCrate rustKeyword
296
300
hi def link rustSuper rustKeyword
You can’t perform that action at this time.
0 commit comments