From b692b21b00288e8955cafa3681ad7da77435fc00 Mon Sep 17 00:00:00 2001 From: Billie Cleek Date: Mon, 20 Aug 2018 14:28:55 -0700 Subject: [PATCH] use the async api for autocompletion in Neovim --- autoload/go/complete.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/go/complete.vim b/autoload/go/complete.vim index 974b6b1842..a2414dc1d6 100644 --- a/autoload/go/complete.vim +++ b/autoload/go/complete.vim @@ -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)