Skip to content

Commit 024fe74

Browse files
committed
---
yaml --- r: 41426 b: refs/heads/snap-stage3 c: 00201c9 h: refs/heads/master v: v3
1 parent 9b547b1 commit 024fe74

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 1c3cca8a578e21eecbe1c5a103fa0edb0ba1af6a
4+
refs/heads/snap-stage3: 00201c969d5d13e4cf65518dd42d3cacc8916a50
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/etc/vim/syntax/rust.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ endif
1212

1313
syn match rustAssert "\<assert\(\w\)*"
1414
syn keyword rustKeyword as break
15-
syn keyword rustKeyword const copy do drop else extern fail
15+
syn keyword rustKeyword copy do drop else extern fail
1616
syn keyword rustKeyword for if impl let log
17-
syn keyword rustKeyword loop match mod move mut once priv pure
17+
syn keyword rustKeyword loop match mod move once priv pure
1818
syn match rustKeyword "\<pub\>"
1919
syn keyword rustKeyword ref return static
2020
syn keyword rustKeyword unsafe use while
2121
" FIXME: Scoped impl's name is also fallen in this category
2222
syn keyword rustKeyword mod trait struct enum type nextgroup=rustIdentifier skipwhite
2323
syn keyword rustKeyword fn nextgroup=rustFuncName skipwhite
24+
syn keyword rustStorage const mut
2425

2526
syn match rustIdentifier contains=rustIdentifierPrime "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
2627
syn match rustFuncName "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
@@ -133,6 +134,7 @@ hi def link rustMacro Macro
133134
hi def link rustType Type
134135
hi def link rustTodo Todo
135136
hi def link rustAttribute PreProc
137+
hi def link rustStorage StorageClass
136138

137139
" Other Suggestions:
138140
" hi rustAssert ctermfg=yellow

0 commit comments

Comments
 (0)