Skip to content

Commit be4f975

Browse files
committed
vim: "ref" and "static" are now keywords; highlight them as such
1 parent 64de480 commit be4f975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/vim/syntax/rust.vim

Lines changed: 1 addition & 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 to unchecked
19+
syn keyword rustKeyword ref ret return static 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

0 commit comments

Comments
 (0)