Skip to content

Commit 0f387af

Browse files
committed
---
yaml --- r: 32174 b: refs/heads/dist-snap c: cf1d2a7 h: refs/heads/master v: v3
1 parent eafcb36 commit 0f387af

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: 8337fa1a545e7958389c6025661990eedd9c1b91
10+
refs/heads/dist-snap: cf1d2a7fef9a1962d9883eead2c67bfa391d8aae
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ syn keyword rustKeyword m32 m64 m128 f80 f16 f128
3030

3131
syn keyword rustType int uint float char bool u8 u16 u32 u64 f32
3232
syn keyword rustType f64 i8 i16 i32 i64 str
33-
syn keyword rustType option either
33+
syn keyword rustType Option Either
3434

3535
" Types from libc
3636
syn keyword rustType c_float c_double c_void FILE fpos_t
@@ -44,11 +44,11 @@ syn keyword rustType off_t dev_t ino_t pid_t mode_t ssize_t
4444
syn keyword rustSelf self
4545
syn keyword rustBoolean true false
4646

47-
syn keyword rustConstant some none " option
48-
syn keyword rustConstant left right " either
49-
syn keyword rustConstant ok err " result
50-
syn keyword rustConstant success failure " task
51-
syn keyword rustConstant cons nil " list
47+
syn keyword rustConstant Some None " option
48+
syn keyword rustConstant Left Right " either
49+
syn keyword rustConstant Ok Err " result
50+
syn keyword rustConstant Success Failure " task
51+
syn keyword rustConstant Cons Nil " list
5252
" syn keyword rustConstant empty node " tree
5353

5454
" Constants from libc

0 commit comments

Comments
 (0)