Skip to content

Commit 8d6ede7

Browse files
committed
---
yaml --- r: 61351 b: refs/heads/try c: 0acb0d9 h: refs/heads/master i: 61349: a34b8da 61347: a28d764 61343: 6399c8d v: v3
1 parent bc06575 commit 8d6ede7

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
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: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
5-
refs/heads/try: f4c88c7da0503d4eb1109599a51537f750667320
5+
refs/heads/try: 0acb0d91c01a441080bdeebed36498d68b67f31d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/.swo

-72 KB
Binary file not shown.

branches/try/src/etc/vim/after/syntax/rust.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ syn match rustRightArrowHead contained ">" conceal cchar= 
1111
syn match rustRightArrowTail contained "-" conceal cchar=
1212
syn match rustNiceOperator "->" contains=rustRightArrowHead,rustRightArrowTail
1313

14+
syn match rustLeftRightArrowHead contained ">" conceal cchar= 
15+
syn match rustLeftRightArrowTail contained "<-" conceal cchar=
16+
syn match rustNiceOperator "<->" contains=rustLeftRightArrowHead,rustLeftRightArrowTail
17+
1418
syn match rustFatRightArrowHead contained ">" conceal cchar= 
1519
syn match rustFatRightArrowTail contained "=" conceal cchar=
1620
syn match rustNiceOperator "=>" contains=rustFatRightArrowHead,rustFatRightArrowTail

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ syn keyword rustOperator as
1515

1616
syn keyword rustKeyword break copy do drop extern
1717
syn keyword rustKeyword for if impl let log
18-
syn keyword rustKeyword copy do extern
18+
syn keyword rustKeyword copy do drop extern
1919
syn keyword rustKeyword for impl let log
2020
syn keyword rustKeyword loop mod once priv pub
2121
syn keyword rustKeyword return
@@ -28,8 +28,8 @@ syn keyword rustStorage const mut ref static
2828
syn match rustIdentifier contains=rustIdentifierPrime "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
2929
syn match rustFuncName "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
3030

31-
" reserved
32-
syn keyword rustKeyword be
31+
" Reserved words
32+
"syn keyword rustKeyword m32 m64 m128 f80 f16 f128 be " These are obsolete
3333

3434
syn keyword rustType int uint float char bool u8 u16 u32 u64 f32
3535
syn keyword rustType f64 i8 i16 i32 i64 str Self

0 commit comments

Comments
 (0)