diff options
| author | Chris Morgan <me@chrismorgan.info> | 2013-12-10 14:17:26 +1100 |
|---|---|---|
| committer | Chris Morgan <me@chrismorgan.info> | 2013-12-10 14:17:26 +1100 |
| commit | 3a4d7ff2b9faf8c6861869f0835cfd8abcf47577 (patch) | |
| tree | 242fc9df69fd0b545b9852e73e0eecfebc0753d5 /src/rustllvm/RustWrapper.cpp | |
| parent | 29ca4350c8d64facb39311660e8ee919766f481a (diff) | |
| download | rust-3a4d7ff2b9faf8c6861869f0835cfd8abcf47577.tar.gz rust-3a4d7ff2b9faf8c6861869f0835cfd8abcf47577.zip | |
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).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
