Uh oh!
There was an error while loading. Please reload this page.
Added as and move keywords to Vim syntax file - #18782
Conversation
rust-highfive
commented
Nov 8, 2014
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. |
steveklabnik
commented
Nov 8, 2014
Move has been a keyword for a long time, but it was removed in 0.6, and kept reserved. Then it was recently brought back.= |
netvl
commented
Nov 8, 2014
@steveklabnik, didn't know that. Anyway, previously it wasn't used so its missing highlighting wasn't a problem. |
There was a problem hiding this comment.
as is already a rustOperator (see line 17), so marking it as a keyword as well is unnecessary. as is already highlighted in Vim today.
tomjakubowski
commented
Nov 9, 2014
Could you squeeze in an update to |
netvl
commented
Nov 9, 2014
@P1start, strange, it is not highlighted for me. Probably my color scheme problems, I'll revert it. |
netvl
commented
Nov 9, 2014
Ah, I see that since |
`as` (already for a long time) and `move` (which was only added recently, AFAIK) are not marked as keywords in Vim syntax file, so they are not highlighted as keywords in Rust sources. This PR fixes this.
cuviper
commented
Nov 10, 2014
netvl
commented
Nov 10, 2014
@cuviper, no, I didn't. Either would be fine for me, as long as they are highlighted :) |
as(already for a long time) andmove(which was only added recently, AFAIK) are not marked as keywords in Vim syntax file, so they are not highlighted as keywords in Rust sources. This PR fixes this.