Home > other >  Why is the Coc hover over window in vim still display even after the cursor leaves the relevant line
Why is the Coc hover over window in vim still display even after the cursor leaves the relevant line

Time:12-13

I am currently using NVIM v0.7.2 on MacOS 12.6 with the Coc nvim plugin which allows me to see helpful auto complete data and other context sensitive help in a popup near my cursor. However it is fairly common that after several minutes of using nvim, more and more of these popup windows remain on the screen even after the cursor leaves the relevant line. If I restart nvim then the excessive popups go away, but then it comes back several minutes later. Is there a better way to fix this issue?

CodePudding user response:

I recently discovered that running the

:CocRestart

command from within nvim will remove the excessive popups. Although this is still just a workaround rather than an actual fix, at least I don't have to reopen all of the files I had open to get back to where I was as restarting nvim would require.

  • Related