KeitaNakamura / neodark.vim

A dark color scheme for vim
410 stars 34 forks source link

Odd highlighting in floating window #22

Open ckipp01 opened 4 years ago

ckipp01 commented 4 years ago

I'm trying to hunt down an issue, and I can't seem to figure out why it's happening. In when using coc.nvim with a language server that offers hover, the text in the floating window seems to be highlighted really oddly in neovim, but not in vim. I used to use Nord theme, and I didn't see this issue, but I just noticed it when I switched to neodark.

Here is an image hovering with vim 8.2

Screenshot 2019-12-18 at 07 25 09

And then when I switch to NeoVim, here is the same hover. Notice the odd highlighting around the :.

Screenshot 2019-12-18 at 07 24 35

From poking around the coc.nvim code, it looks like the code to create the floating window is here https://github.com/neoclide/coc.nvim/blob/dc888b4a6e1e3c70049c41d1edda06c76b853983/src/model/floatFactory.ts#L165

Any idea if this is a theme issue, an issue with how they are creating the popup or what could be causing this?

EDIT: I found this in the coc.nvim issues where the maintainer seemed to say that the theme should take care of it? https://github.com/neoclide/coc.nvim/issues/1248