Skip to content

Commit 3f7bd12

Browse files
committed
---
yaml --- r: 42893 b: refs/heads/try c: 00201c9 h: refs/heads/master i: 42891: 83d13d3 v: v3
1 parent 8a13119 commit 3f7bd12

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 19dfec2aaf746535de1521f68421f9980dbf25de
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
5-
refs/heads/try: 1c3cca8a578e21eecbe1c5a103fa0edb0ba1af6a
5+
refs/heads/try: 00201c969d5d13e4cf65518dd42d3cacc8916a50
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

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