haya14busa / incsearch.vim

:flashlight: Improved incremental searching for Vim
https://medium.com/@haya14busa/incsearch-vim-is-dead-long-live-incsearch-2b7070d55250
MIT License
1.11k stars 23 forks source link

Becomes unusable after searching word present in a Vim 8.1 split terminal #156

Open Millani opened 5 years ago

Millani commented 5 years ago

In Vim 8.1 and gVim 8.1, I have the following bug. Whenever I search a word or a few characters (with /) that exist both in the active document and in a visible Vim 8.1 terminal split window, I get an error and from them one, any search stops working until I search another word that is not showing up in the terminal split window.

I can't see the exact error that is described because it comes and disappears too fast, but by using :messages I guess it's the following:

image

Deactivating incsearch seems to solve the issue, so I can only assume it's a bug in it.

gregory commented 5 years ago

having the same issue @haya14busa - any idea what's going on? what do you need to help debugging this?

Here is what I get:

incsearch.vim:  : function incsearch#_go[5]..<SNR>177_get_input[12]..226[4]..224[1]..240[9]..239[10]..238[23]..237[22]..236[6]..209[2]..264[1]..<SNR>190_call[3]..186[3]..185[17]..EasyMotion#go[3]..EasyMotion#overwin#move[1]..<SNR>236_move[2]..417[1]..418[7]..421[20]..425[2]..431[26]..<SNR>236_throw, line 1 vital: HitAHint.Motion: function incsearch#_go[5]..<SNR>1
77_get_input[12]..226[4]..224[1]..240[9]..239[10]..238[23]..237[22]..236[6]..209[2]..264[1]..<SNR>190_call[3]..186[3]..185[17]..EasyMotion#go[3]..EasyMotion#overwin#move[1]..<SNR>236_move[2]..417[1]..418[7]..421[20]..425[2]..431, line 15 Vim(for):E716: Key not present in Dictionary: 4

after some digging it appear it might be related to passing this: \ 'modules': [incsearch#config#easymotion#module({'overwin':1})],