File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
branches/try/src/etc/vim/syntax Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: b8ef9fd9c9f642ce7b8aed82782a1ed745d08d64
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: b8601a3d8b91ad3b653d143307611f2f5c75617e
5
- refs/heads/try: 37f6564a8498cedd88b230abde3da1e75c6e4fd1
5
+ refs/heads/try: e0088ef80b541b1cd2f99bd03765853f2df7ed44
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
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