-
Notifications
You must be signed in to change notification settings - Fork 13.3k
vim: move 'move' to rustStorage #18789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon. |
#18782 seems to do this as well, although it adds |
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.
Ah yes, I forgot about that, thanks @P1start! @cuviper are you ok with it just as a keyword for now (instead of the storage class)? |
It's OK, but I think the storage class is better. :) I'll ask @netvl on the other issue. |
Ok, @netvl doesn't mind, so I've now rebased this as a change to his placement of |
fix: Fix invalid `-O` flag used by cfg discovery
It used to be in
rustKeyword
, until commit 5c75f21 removed it, and then #18782 restored it again. However, this is now a closure modifier, and I think moving it torustStorage
is more appropriate to highlight it similarly tomut
,ref
, and the&
sigil.