Skip to content

Commit f39e05d

Browse files
committed
---
yaml --- r: 35533 b: refs/heads/master c: 0a1ac75 h: refs/heads/master i: 35531: f5f5f69 v: v3
1 parent b6a85b9 commit f39e05d

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 8979695496eb6247758a1a5f0a4f3cdf62b79453
2+
refs/heads/master: 0a1ac75d1a01820d5607370aeeee01c866b02a60
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/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)