iron.nvim
iron.nvim copied to clipboard
fix(core): `nvim_buf_set_extmark()` uses byte-index
Fix #282. I also checked that although this PR partially reverts #221, #217 is kept as being fixed.
It is really frustrating that there is so much churn in this code, because sometimes we want bytewise and other we want char wise... I will have to revisit this later on and think about it thoroughly... Maybe even do both..
Ok, this has kind of bit-rot and I guess it's my fault.. The recently merged #343 seems to touch upon some of this work.
I'm out on vacations, but soon-ish I should be able to get back to iron and try to make sure #282 is fixed.