diff options
| author | bors <bors@rust-lang.org> | 2013-12-11 08:21:21 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-12-11 08:21:21 -0800 |
| commit | f41b4e351b4fface2ad3c4b74912837c4059d56a (patch) | |
| tree | f2317c5a40327d87b0602f8b89ed56ed023c3ae4 /src/libstd/any.rs | |
| parent | d441c5468814b0d8f9ccdba426baf1f16b5134fc (diff) | |
| parent | f39c883598ca937b8b84720f184cdf370daf107d (diff) | |
| download | rust-f41b4e351b4fface2ad3c4b74912837c4059d56a.tar.gz rust-f41b4e351b4fface2ad3c4b74912837c4059d56a.zip | |
auto merge of #10888 : chris-morgan/rust/2013-12-10-vim-updates, r=thestinger
### Fix up float highlighting in Vim. This fixes a regression introduced in #10793. Having a colorscheme which highlights Float the same as Number (I believe most do), I hadn't noticed that having the special case of "5." floats (which was one of the added features in #10793) last made it take precedence, and so it was left to @thestinger to notice it. The regression meant that in `5.0`, the `5.` was a `rustFloat` (linked by default to `Float`) and the `0` was a `rustDecNumber` (linked by default to `Number`), and for `5.0f32` the `5.` was a `rustFloat` and the `0f32` was a second `rustFloat` (and thus appeared correctly, though for the wrong reason). ### Vim keyword highlighting improvements. - Removed the `log` keyword; - Removed keyword duplicates; - Highlighted `const` as `Error` rather than `StorageClass`; and - Highlighted all the reserved keywords as `Error` rather than as `Keyword`. (As usual, these highlightings can be overridden if desired.)
Diffstat (limited to 'src/libstd/any.rs')
0 files changed, 0 insertions, 0 deletions
