vhakulinen / gnvim

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

Incorrect cursor shape? #172

Closed Barbaross93 closed 3 weeks ago

Barbaross93 commented 3 years ago

In both the latest git and release versions of GNvim, I've noticed that the cursor shape always remained as a ibeam. In my init.vim, it should be a horizontal bar. When I try to apply the setting, I can see that the cursor thickness changes if I try something like set guicursor=a:hor10 or set guicursor=a:hor20 but the shape itself does not change.

vhakulinen commented 1 year ago

Note to self: the cursor currently doesn't consider the shape. See https://github.com/vhakulinen/gnvim/blob/8f020b26f86168f9855489293e6ad725c2a4b45b/ui/src/components/cursor/imp.rs#L160-L185