Closed jeromedalbert closed 7 years ago
The popup always flickers because whenever a letter is typed the popup is closed by vim and then opened by completor. Completor tries to always get the fresh completion list. There is a way to improve the problem with the latest commit:
let g:completor_refresh_always = 0
After this config added to your vimrc the popup will not be refreshed if there are completion candidates prefixed by the letters you typed.
Ok, I thought it was a problem on my side, because the popup on the Readme GIF doesn't flicker, but after looking at it more closely there is no real letter typing happening there. So I'm closing the issue.
By the way I tried let g:completor_refresh_always = 0
with the same scenario as in my GIF above, but it still flickers even though there is a completion candidate with the letters I typed.
I push a commit to fix the config. It will not flicker if you set let g:completor_refresh_always = 0
now.
Great, thanks!
Works well for buffer completion. Filename completion still flickers (minor)
Steps to reproduce:
Create a
minimal.vim
file with the following content:Run
nvim -u minimal.vim
with Neovim v0.2.1Type some text that triggers the completion popup
Actual behavior
The popup flickers whenever I type a letter:
Expected behavior
The popup should not flicker.
Any idea why this is happening to me?