Closed disrupted closed 2 years ago
I'm not too sure about fixing
hl_mode
tocombine
, given the neovim default isreplace
. I think it would be a better idea to exposehl_mode
as an option and have the default remainreplace
. Let me know what you think.
I mostly wanted to make it play nice with cursorline, but I have to agree that making it configurable gives the greatest freedom to the user. PR is updated
Thanks for the PR!
Lightbulb was using the old
nvim_buf_set_virtual_text()
api that doesn't apply the underlying highlight (cursorline).I migrated to the newer
nvim_buf_set_extmark()
api and sethl_mode="combine"