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

Vim cursorline cuts out on some keywords #78

Closed
2 tasks done
jorgeluiscarrillo opened this issue Oct 15, 2020 · 6 comments
Closed
2 tasks done

Vim cursorline cuts out on some keywords #78

jorgeluiscarrillo opened this issue Oct 15, 2020 · 6 comments

Comments

@jorgeluiscarrillo
Copy link

jorgeluiscarrillo commented Oct 15, 2020

Environment:

  • Fedora 32
  • NeoVim (v0.4.4)
  • Alacritty

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

  • Does your Vim support full colors? (:set termguicolors)
  • Does your terminal support full colors? (e.g. Terminal.app doesn't support it)

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
Copy link
Owner

cocopon commented Oct 20, 2020

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

@jorgeluiscarrillo
Copy link
Author

jorgeluiscarrillo commented Oct 20, 2020

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
Copy link
Owner

cocopon commented Oct 21, 2020

  • Could you share the .vim file in the screenshot? I'd like to check it in my environment.
  • Do you use any extra plugins for .vim? (syntax, linting, LSP, ...etc.) If you disable all of other plugins, does the problem still occur? Anyway, sharing list of plugins would help me to reproduce the issue.

@jorgeluiscarrillo
Copy link
Author

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
Copy link
Owner

cocopon commented Oct 27, 2020

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
Copy link
Owner

cocopon commented Dec 25, 2020

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

@cocopon cocopon closed this as completed Dec 25, 2020
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

No branches or pull requests

2 participants