Skip to content

Commit 20f6add

Browse files
committed
---
yaml --- r: 27695 b: refs/heads/try c: ef32a99 h: refs/heads/master i: 27693: b361857 27691: 0fbd48e 27687: 592b2bb 27679: 3e22d8d v: v3
1 parent efd3a3c commit 20f6add

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
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: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: d9134928552bd863295e5110e4fe1f53a6c81405
5+
refs/heads/try: ef32a99f261091c677a0370cc9d0d00098478efd
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ syn keyword rustKeyword alt again as break
1616
syn keyword rustKeyword check claim const copy do drop else export extern fail
1717
syn keyword rustKeyword for if impl import in let log
1818
syn keyword rustKeyword loop match mod module move mut new of owned priv pub pure
19-
syn keyword rustKeyword ret return self to unchecked
19+
syn keyword rustKeyword ret return to unchecked
2020
syn match rustKeyword "unsafe" " Allows also matching unsafe::foo()
2121
syn keyword rustKeyword use while with
2222
" FIXME: Scoped impl's name is also fallen in this category
@@ -42,6 +42,7 @@ syn keyword rustType size_t ptrdiff_t clock_t time_t
4242
syn keyword rustType c_longlong c_ulonglong intptr_t uintptr_t
4343
syn keyword rustType off_t dev_t ino_t pid_t mode_t ssize_t
4444

45+
syn keyword rustSelf self
4546
syn keyword rustBoolean true false
4647

4748
syn keyword rustConstant some none " option
@@ -112,6 +113,7 @@ hi def link rustCharacter Character
112113
hi def link rustNumber Number
113114
hi def link rustBoolean Boolean
114115
hi def link rustConstant Constant
116+
hi def link rustSelf Constant
115117
hi def link rustFloat Float
116118
hi def link rustAssert Keyword
117119
hi def link rustKeyword Keyword

0 commit comments

Comments
 (0)