Skip to content

Commit

Permalink
use the async api for autocompletion in Neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
bhcleek committed Aug 24, 2018
1 parent 2f46cdb commit b692b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/go/complete.vim
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function! go#complete#GetInfo() abort
endfunction

function! go#complete#Info() abort
if go#util#has_job(1)
if go#util#has_job(1) || has('nvim')
return s:async_info(1)
else
return s:sync_info(1)
Expand Down

0 comments on commit b692b21

Please sign in to comment.