vhakulinen / gnvim

GUI for neovim, without any web bloat
MIT License
1.85k stars 69 forks source link

Gnvim ignores cursor color settings (highlight group Cursor) #170

Closed mulianov closed 1 month ago

mulianov commented 3 years ago

Changing Hl Cursor doesn't do any changes

vhakulinen commented 1 year ago

The :h ui documents in the mode_info_set event[1]:

attr_id: Cursor attribute id (defined by hl_attr_define). When attr_id is 0, the background and foreground colors should be swapped.

I interpret that as to "use this hl id for the cursor's color". @bfredl is the Cursor hl ignored by the mode_info_set event?

1: https://github.com/neovim/neovim/blob/d311c5481dede47d752fa39cb00d728ba18ef5bc/runtime/doc/ui.txt#L188-L190

vhakulinen commented 1 month ago

Working as intended. You need to define the used highlight group for the cursor in guicursor.