cocopon / iceberg.vim

:antarctica: Bluish color scheme for Vim and Neovim
https://cocopon.github.io/iceberg.vim/
MIT License
2.22k stars 132 forks source link

Vim cursorline cuts out on some keywords #78

Closed jorgeluiscarrillo closed 3 years ago

jorgeluiscarrillo commented 4 years ago

Environment:

If you have a trouble with coloration and are using Vim/Neovim with terminal:

output As shown in the gif, the cursorline goes invisible on certain keywords. Is this intended? If it is, is there any workaround to prevent it from cutting out.

cocopon commented 4 years ago

That is not intended behavior. Does the same problem occur on the other terminal app?

jorgeluiscarrillo commented 4 years ago

I tried with xfce4-terminal and experienced the same issue. I think that it seems to only occur on .vim files. I just opened the code for iceberg.vim and can reproduce it there whenever let is used.

cocopon commented 4 years ago
jorgeluiscarrillo commented 4 years ago

I did a bit more research and I believe this might be a NeoVim issue neovim/neovim#9019. A few other themes have the same problem.

cocopon commented 4 years ago

Reproduced the same issue in Neovim, and works fine in Vim. It seems to be caused by Neovim issue as you said.

Neovim:

nvim
:version
NVIM v0.5.0-nightly

Vim:

vim
:version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 19 2020 22:09:59)
macOS version
Included patches: 1-800
cocopon commented 3 years ago

This problem should be fixed by Neovim. Let's wait for the future release...