Skip to content

Commit dc35d16

Browse files
committed
---
yaml --- r: 39391 b: refs/heads/incoming c: 0a1ac75 h: refs/heads/master i: 39389: eda5f63 39387: 7e069c5 39383: 79aebcf 39375: 4c72ea8 39359: c225ddf v: v3
1 parent 6c48fde commit dc35d16

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
@@ -6,7 +6,7 @@ refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
9-
refs/heads/incoming: 8979695496eb6247758a1a5f0a4f3cdf62b79453
9+
refs/heads/incoming: 0a1ac75d1a01820d5607370aeeee01c866b02a60
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/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)