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: b6e0d3a5bf4c88650a22f605f822e02c6b163580
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
- refs/heads/try: add8a85905e5b352145c8dc26ee7d4f166bfa905
5
+ refs/heads/try: 81da141b7d56ad1136c9beac0bb3a2d9059586af
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 @@ -34,7 +34,9 @@ syn keyword rustStorage mut ref static const
34
34
35
35
syn keyword rustInvalidBareKeyword crate
36
36
37
- syn keyword rustExternCrate crate contained nextgroup =rustIdentifier skipwhite skipempty
37
+ syn keyword rustExternCrate crate contained nextgroup =rustIdentifier,rustExternCrateString skipwhite skipempty
38
+ " This is to get the `bar` part of `extern crate "foo" as bar;` highlighting.
39
+ syn match rustExternCrateString / ".*"\_ s*as/ contained nextgroup =rustIdentifier skipwhite transparent skipempty contains =rustString,rustOperator
38
40
syn keyword rustObsoleteExternMod mod contained nextgroup =rustIdentifier skipwhite skipempty
39
41
40
42
syn match rustIdentifier contains =rustIdentifierPrime " \% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *" display contained
You can’t perform that action at this time.
0 commit comments