Skip to content
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

Wrong coloring in hi Float #46

Closed
originalsouth opened this issue May 10, 2017 · 1 comment · Fixed by #48
Closed

Wrong coloring in hi Float #46

originalsouth opened this issue May 10, 2017 · 1 comment · Fixed by #48

Comments

@originalsouth
Copy link

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.

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.vim

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):
vim8 0-hi-float

nvim0 2 0-hi-float

This seems to be a regression from the 2015 Nov 10 version.
Where the coloring is still ok. See image:
nvim0 1 7-hi-float

See also this issue in the neovim repository.

h-east added a commit that referenced this issue May 10, 2017
h-east added a commit that referenced this issue May 10, 2017
mattn added a commit that referenced this issue May 11, 2017
@originalsouth
Copy link
Author

So is #48 going to be merged in?

@mattn mattn closed this as completed in #48 Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant