From 893b04c69311312ec4eea8185f129b4538238e05 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 0cacf518c5..988a182c75 100644 --- a/autoload/go/complete.vim +++ b/autoload/go/complete.vim @@ -67,7 +67,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)