hlissner / evil-snipe

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

Fixed the reversed prompt and incrementally highlighting #60

Closed ayyess closed 6 years ago

ayyess commented 6 years ago

evil-snipes' prompt and incremental highlighting appears backwards when the search term's length has been extended with <tab>. They appear backwards because elisp's push adds to the front of the list. This PR puts the prompt and highlighting in the correct order.

An example of searching for abcd with sa<tab><tab>bcd. asciicast

hlissner commented 6 years ago

Ah, good catch, thanks!