Both in VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 26 2017 07:49:10) and NVIM 0.2.0 --which both rely on the 2016 Oct 28 version of this project for syntax highlighting of cpp files -- seem to color floats wrong.
This produces wrong coloring of statement like printf("%g\n",1.0+1.0); colors the 1 as defined by hi Number and the .0 as defined by hi Float both in VIM as NVIM.
See image for example: c left, cpp right (the 1 is yellowish where the .0 is reddish):
This seems to be a regression from the 2015 Nov 10 version.
Where the coloring is still ok. See image:
Both in
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 26 2017 07:49:10)
andNVIM 0.2.0
--which both rely on the2016 Oct 28
version of this project for syntax highlighting of cpp files -- seem to color floats wrong.Example: In my color scheme I'm using:
hi Float guifg=#eb2121 guibg=NONE guisp=NONE gui=NONE
hi Number guifg=#f0ad6d guibg=NONE guisp=NONE gui=NONE
see https://github.com/originalsouth/nvimrc/blob/master/colors/inkpot.vimThis produces wrong coloring of statement like
printf("%g\n",1.0+1.0);
colors the1
as defined byhi Number
and the.0
as defined byhi Float
both in VIM as NVIM.See image for example:
c
left,cpp
right (the1
is yellowish where the.0
is reddish):This seems to be a regression from the
2015 Nov 10
version. Where the coloring is still ok. See image:See also this issue in the neovim repository.