Closed kontza closed 2 years ago
Hmm... does this still happen with latest nvim? This seems like an upstream bug.
woops, just meant to comment, not close. Sorry about that.
Hmm... does this still happen with latest nvim? This seems like an upstream bug.
This left me dumbfounded... Nightly or stable? Therefore I tried both:
Therefore I'm closing this as a fix is on the way (with the future 0.9.0 stable).
(Edit: newline added to separate my own text from the quoted text.)
Awesome, thanks for reporting :)
Hi,
I noticed the following with my fork of kickstart.nvim (and verified with a vanilla init.lua from this repo):
I have the following minimal markdown:
If I C-v and select a rectangular region from upper "uudempaan" to the end of "edu", and yank the selection, I get an error:
Note that I do not need to select "päivitettävä" word, it only need to exist on the line. While pasting the above error, I noticed that
str_byteindex
is the point of error. The problematic word containsä
, which is a two byte 'character'. My guess, without knowing nothing about the implementation is that that function should take into account utf-8 characters.ps. "päivitettävä" is a Finnish word for "to be updated".