Skip to content

Commit af1368a

Browse files
committed
auto merge of #18789 : cuviper/rust/vim-move, r=alexcrichton
It used to be in `rustKeyword`, but commit 5c75f21 removed it. It was reintroduced as a keyword in 0.12.0 to indicate by-value closures, and I think `rustStorage` highlighting makes sense for that purpose.
2 parents 830c82d + 11ca249 commit af1368a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/vim/syntax/rust.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ syn keyword rustKeyword unsafe virtual where while
3030
syn keyword rustKeyword use nextgroup=rustModPath skipwhite skipempty
3131
" FIXME: Scoped impl's name is also fallen in this category
3232
syn keyword rustKeyword mod trait struct enum type nextgroup=rustIdentifier skipwhite skipempty
33-
syn keyword rustStorage mut ref static const
33+
syn keyword rustStorage move mut ref static const
3434

3535
syn keyword rustInvalidBareKeyword crate
3636

0 commit comments

Comments
 (0)