-
Notifications
You must be signed in to change notification settings - Fork 79
flickering each time a character gets deleted #162
Comments
Popup menu shouldn't be showing in the default config. Did you enable I believe the meaning of |
I did not enable cal plug#begin($XDG_DATA_HOME.'/nvim/plugins')
Plug 'nvim-lua/completion-nvim'
Plug 'steelsojka/completion-buffers'
cal plug#end()
au bufenter * lua require'completion'.on_attach()
let g:completion_auto_change_source = 1
let g:completion_trigger_on_delete = 0
let g:completion_chain_complete_list = [
\{ 'complete_items': ['path'] },
\{ 'complete_items': ['buffer'] },
\]
se completeopt=menuone,noinsert Anyway, if say it can't be faster then the deletion-flickering just has to stay. Its not that bad, especially when timer_cycle is set to 1. So far I didn't notice any cpu issues and enjoyed it so far. You can close the issue if there's nothing more to say. EDIT: The cpu becomes higher. Its not that bad but maybe too high for some people. I figured setting the timer to 10 or 20 is the best mix between responsiveness and cpu for me personally. |
I also just noticed that the plugin lexima for autoclosing brackets hijacks |
I created a new issue for completion-buffers steelsojka/completion-buffers#6 |
Instead of using the timer couldn't the completion just be triggered for each au textchangedi,textchangedp * cal completion#trigger_completion() |
The dev from completion-buffers sais:
|
@haorenW1025 yes this also happens to me when competing a word. sometimes, when I type a letter the list flickers, I have fuzzy option set and perhaps it is related to that. |
Probably, this issue relates to this #207 |
Hello. So far this plugins works great. One thing which bothers me is that the pum flickers each time I press
backspace
to delete a character. I tested it with the path- and buffer-sources.This doesn't really happen with deoplete. Maybe its because deoplete sets the completion-delay by default to 0. Setting
let g:completion_timer_cycle = 1
helps. If I set it to 0 no completion occurs however.My questions are:
g:completion_timer_cycle
to 0 for even faster completion?g:completion_timer_cycle
should not be lower than 80. However, I had very could results with setting it to 1. Much faster completion. Almost no flickering when I insert characters. Less flickering when I delete characters. Is there a specific reason why it shouldn't be lower than 80?The text was updated successfully, but these errors were encountered: