junegunn / vim-peekaboo

:eyes: " / @ / CTRL-R
1.12k stars 38 forks source link

Plugin regularly (but unpredictably) crashes neovim #64

Open zoqaeski opened 4 years ago

zoqaeski commented 4 years ago

I'm using nvim v0.4.3 (also tested with git master), and with this plugin enabled, pressing " often (but not always) causes neovim to completely lock up. If I'm using the QT GUI, the mouse cursor changes to busy, and the application completely freezes. It doesn't respond to any keypresses or mouse clicks, and usually has to be killed with SIGKILL, as SIGTERM doesn't seem to do anything either.

Gutsgwh1997 commented 4 years ago

I have the same problem with NVIM v0.3.8, but it works well when using VIM.

hartigan43 commented 4 years ago

Confirming the issue in NVIM, v0.4.3, but VIM 8.2 runs fine. Only running from console, $TERM=tmux-256color

infokiller commented 4 years ago

Do any of you happen to use YouCompleteMe? I got consistent freezes, and disabling YouCompleteMe fixed it (not that this is a reasonable solution, just trying to figure out the cause)

Update: the following fixes it for me:

let g:ycm_filetype_blacklist['peekaboo'] = 1
zoomido commented 3 years ago

I'm still having problem with this. The above solution did not work since the format was wrong. I've tried this but I'm still getting neovim to hang sometimes when opening peekabo. The only way to close it is to close the whole terminal tab.

let g:ycm_filetype_blacklist = {
\ 'peekaboo' : 1,
\ 'text': 1
\}
thallada commented 3 years ago

Neovim is hanging consistently for me every time I press " without pressing another key within the peekaboo delay. I don't use YouCompleteMe. My neovim version v0.4.4. I'm running in Ubuntu within WSL2 on Windows 10.

I saw this after pressing " while running nvim -V1, no idea if that's helpful. I'm happy to provide more logs if needed.

not found in 'runtimepath': "ftplugin/peekaboo.vim ftplugin/peekaboo_*.vim ftplugin/peekaboo/*.vim"
not found in 'runtimepath': "indent/peekaboo.vim"