neovim-gtk
neovim-gtk copied to clipboard
When changing themes, the cursor sometimes uses the wrong color
When changing themes, the Cursor
highlight group doesn't seem to be applied properly to the cursor, resulting in it using the wrong color. This can be seen here:
Screencast from 2022-12-28 16-14-52.webm
In addition, it seems the command prompt is also affected, and possibly other elements. The usual workaround is to do something like hi Cursor guifg=#000000
for the cursor, which seems to then reset it to the correct color.
Version information:
- nvim-gtk: fac5de4 (1.0.1 from the AUR)
- nvim: 0.8.1
What are your highlight
settings for Cursor
here?
@Lyude
For the initial theme:
:hi Cursor
Cursor xxx guibg=#000000
For the theme I'm switching to (the dark one) in the video:
:hi Cursor
Cursor xxx guibg=#d3cfbe