hop.nvim icon indicating copy to clipboard operation
hop.nvim copied to clipboard

Bug in operator pending mode when using hint_offset with Unicode chars

Open gerazov opened this issue 3 years ago • 0 comments

In the new version where hint_offset takes the place of inclusive_jump there is a bug when working with Unicode text.

When setting hint_offset = -1 to get t like behavior it completely misses the mark. Here's how it looks when cycling all jump points using the sample text Еве подолг текст на кирилица како пример. : hop_hint-1

And for hint_offset = 0 it deletes the jump character but inserts a weird tag in its place: hop_hint0

Normal mode is not affected as f like behavior works ok.

gerazov avatar Aug 22 '22 21:08 gerazov