jake-stewart / force-cul.nvim

force cursorline for signs
MIT License
2 stars 0 forks source link

override nvim_buf_set_extmark() #1

Closed jake-stewart closed 2 hours ago

jake-stewart commented 2 hours ago

I probably don't need to do anything with SafeState.

I could just wrap nvim_buf_set_extmark() and automatically set the cursorline_hl_group. This would be more performant and should work with splits.

It may or may not work when updating colorscheme. Though I think if I set it to just CursorLineSign then it should work since CursorLineSign shouldn't overwrite fg color.

jake-stewart commented 2 hours ago

so much better now