deoplete-plugins/deoplete-go

GoCode completions dont appear until further typing or focus into completions list

chrispouliot opened this issue · 3 comments

When attempting to get completions I can only get deoplete-go specific completions if I start typing after the . or focus into the completions prompt.

Here is how it looks if I type . after a variable

before

Here is how it looks if I focus into the prompt (arrow down) or after I type a character after the .

after

Before focusing into the prompt there are only a few completions, and the rest appear immediately when I start typing more or when I change focus to the completions list.

Sample init.vim

call plug#begin('~/.local/share/nvim/plugged')
" Autocompletion
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'zchee/deoplete-go', { 'do': 'make'}
call plug#end()
" Auto completion
let g:deoplete#enable_at_startup = 1


NVIM v0.3.2-dev

It is feature. Because deoplete-go completion is slower than member completion.
You need to wait to get deoplete-go's completion.

Hm... If you don't like the behavior, you need to disable parallel feature in deoplete.

       call deoplete#custom#option('num_processes', 1)

@Shougo It will never show up if I just wait after hitting .
It will immediately show up when I focus into the prompt or continue typing.
Is this expected?

I don't reproduce your problem with your minimal init.vim.
Please upload the example file to reproduce.

If not, I will ignore your report.