Skip to content

Commit 0c64f0d

Browse files
committed
---
yaml --- r: 36726 b: refs/heads/try2 c: 0a1ac75 h: refs/heads/master v: v3
1 parent 53b908a commit 0c64f0d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 8979695496eb6247758a1a5f0a4f3cdf62b79453
8+
refs/heads/try2: 0a1ac75d1a01820d5607370aeeee01c866b02a60
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try2/src/etc/vim/syntax/rust.vim

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Language: Rust
33
" Maintainer: Patrick Walton <[email protected]>
44
" Maintainer: Ben Blum <[email protected]>
5-
" Last Change: 2012 Jul 06
5+
" Last Change: 2012 Dec 14
66

77
if version < 600
88
syntax clear
@@ -11,16 +11,16 @@ elseif exists("b:current_syntax")
1111
endif
1212

1313
syn match rustAssert "\<assert\(\w\)*"
14-
syn keyword rustKeyword again as break
14+
syn keyword rustKeyword as break
1515
syn keyword rustKeyword const copy do drop else export extern fail
16-
syn keyword rustKeyword for if impl import in let log
17-
syn keyword rustKeyword loop match mod module move mut new of priv pure
16+
syn keyword rustKeyword for if impl let log
17+
syn keyword rustKeyword loop match mod move mut once priv pure
1818
syn match rustKeyword "\<pub\>"
19-
syn keyword rustKeyword ref return static to unchecked
19+
syn keyword rustKeyword ref return static
2020
syn match rustKeyword "\<unsafe\>" " Allows also matching unsafe::foo()
21-
syn keyword rustKeyword use while with
21+
syn keyword rustKeyword use while
2222
" FIXME: Scoped impl's name is also fallen in this category
23-
syn keyword rustKeyword mod trait class struct enum type nextgroup=rustIdentifier skipwhite
23+
syn keyword rustKeyword mod trait struct enum type nextgroup=rustIdentifier skipwhite
2424
syn keyword rustKeyword fn nextgroup=rustFuncName skipwhite
2525

2626
syn match rustIdentifier contains=rustIdentifierPrime "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained

0 commit comments

Comments
 (0)