qxxxb / vim-searchhi

Highlight the current search result differently
GNU General Public License v3.0
47 stars 6 forks source link

Fix "No such variable" error #5

Closed creasty closed 5 years ago

creasty commented 5 years ago

Why

There's an edge case where searchhi#listen_cmdline_leave gets called twice.

Which results in throwing this error:

E108: No such variable: "g:searchhi_search_complete_timer"
qxxxb commented 5 years ago

Thanks!