justinmk / vim-sneak

The missing motion for Vim :athletic_shoe:
http://www.vim.org/scripts/script.php?script_id=4809
MIT License
3.26k stars 88 forks source link

Sneak_f in operator-pending mode is incorrect if the target is on eol/eof #291

Open tomtomjhj opened 2 years ago

tomtomjhj commented 2 years ago

Configuration (tested on latest nvim/vim):

omap f <Plug>Sneak_f

Buggy cases:

ggandor commented 2 years ago

The first one is a duplicate of #228. The second one I cannot reproduce.

justinmk commented 2 years ago

Thanks @ggandor ! Does #292 fix #228 ? I've been hesitating here because of lack of test coverage.