Skip to content

Commit 233983d

Browse files
committed
---
yaml --- r: 50410 b: refs/heads/auto c: 6442b1c h: refs/heads/master v: v3
1 parent 90679b0 commit 233983d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: b0f66c4732e28f2409e8f2fe3afa1e564cde7b30
17+
refs/heads/auto: 6442b1c0e7812cc4a7651dca9ac8df2a70326c79
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ elseif exists("b:current_syntax")
1010
finish
1111
endif
1212

13+
syn keyword rustConditional match if else
14+
1315
syn keyword rustKeyword as break
14-
syn keyword rustKeyword copy do drop else extern
1516
syn keyword rustKeyword for if impl let log
16-
syn keyword rustKeyword loop match mod once priv pub
17+
syn keyword rustKeyword copy do drop extern
18+
syn keyword rustKeyword for impl let log
19+
syn keyword rustKeyword loop mod once priv pub
1720
syn keyword rustKeyword return
1821
syn keyword rustKeyword unsafe use while
1922
" FIXME: Scoped impl's name is also fallen in this category
@@ -125,6 +128,7 @@ hi def link rustConstant Constant
125128
hi def link rustSelf Constant
126129
hi def link rustFloat Float
127130
hi def link rustKeyword Keyword
131+
hi def link rustConditional Conditional
128132
hi def link rustIdentifier Identifier
129133
hi def link rustModPath Include
130134
hi def link rustFuncName Function

0 commit comments

Comments
 (0)