File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ syn keyword rustOperator as
19
19
syn match rustAssert " \< assert\(\w\) *!" contained
20
20
syn match rustFail " \< fail\(\w\) *!" contained
21
21
syn keyword rustKeyword break continue do
22
- syn keyword rustKeyword extern nextgroup =rustExternCrate skipwhite
22
+ syn keyword rustKeyword extern nextgroup =rustExternCrate,rustObsoleteExternMod skipwhite
23
23
syn keyword rustKeyword for in if impl let
24
24
syn keyword rustKeyword loop once priv pub
25
25
syn keyword rustKeyword return
@@ -35,6 +35,7 @@ syn keyword rustObsoleteStorage const
35
35
syn keyword rustInvalidBareKeyword crate
36
36
37
37
syn keyword rustExternCrate crate contained nextgroup =rustIdentifier skipwhite
38
+ syn keyword rustObsoleteExternMod mod contained nextgroup =rustIdentifier skipwhite
38
39
39
40
syn match rustIdentifier contains =rustIdentifierPrime " \% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *" display contained
40
41
syn match rustFuncName " \% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *" display contained
@@ -247,6 +248,7 @@ hi def link rustObsoleteStorage Error
247
248
hi def link rustLifetime Special
248
249
hi def link rustInvalidBareKeyword Error
249
250
hi def link rustExternCrate rustKeyword
251
+ hi def link rustObsoleteExternMod Error
250
252
251
253
" Other Suggestions:
252
254
" hi rustAttribute ctermfg=cyan
You can’t perform that action at this time.
0 commit comments