File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ syn match rustRepeat /\<for\>/
21
21
" Highlight `for` keyword in `impl ... for ... {}` statement. This line must
22
22
" be put after previous `syn match` line to overwrite it.
23
23
syn match rustKeyword / \% (\< impl\> .\+\)\@ <=\< for\> /
24
+ syn keyword rustRepeat in
24
25
syn keyword rustTypedef type nextgroup =rustIdentifier skipwhite skipempty
25
26
syn keyword rustStructure struct enum nextgroup =rustIdentifier skipwhite skipempty
26
27
syn keyword rustUnion union nextgroup =rustIdentifier skipwhite skipempty contained
@@ -38,7 +39,7 @@ syn keyword rustKeyword continue
38
39
syn keyword rustKeyword crate
39
40
syn keyword rustKeyword extern nextgroup =rustExternCrate,rustObsoleteExternMod skipwhite skipempty
40
41
syn keyword rustKeyword fn nextgroup =rustFuncName skipwhite skipempty
41
- syn keyword rustKeyword in impl let
42
+ syn keyword rustKeyword impl let
42
43
syn keyword rustKeyword macro
43
44
syn keyword rustKeyword pub nextgroup =rustPubScope skipwhite skipempty
44
45
syn keyword rustKeyword return
You can’t perform that action at this time.
0 commit comments