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.
I probably don't need to do anything with
SafeState
.I could just wrap
nvim_buf_set_extmark()
and automatically set thecursorline_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 sinceCursorLineSign
shouldn't overwrite fg color.