hlissner / evil-snipe

2-char searching ala vim-sneak & vim-seek, for evil-mode
MIT License
336 stars 25 forks source link

fix invisible txt bug #79

Closed ml729 closed 3 years ago

ml729 commented 3 years ago

Fix issue #69. The function "evil-snipe--seek-re" skips a string if the first or last char is invisible (e.g. happens with org links, org headers, etc.). However in the original code when checking the last char it checks the char after it instead (so snipes for strings right before the invisible text would fail). This pull request fixes that.

hlissner commented 3 years ago

Makes sense to me. Thanks for the help!