Skip to content

Commit 8a6b732

Browse files
committed
---
yaml --- r: 23117 b: refs/heads/master c: ef32a99 h: refs/heads/master i: 23115: 70360df v: v3
1 parent bec76f0 commit 8a6b732

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: d9134928552bd863295e5110e4fe1f53a6c81405
2+
refs/heads/master: ef32a99f261091c677a0370cc9d0d00098478efd
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/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)