From 9495669281e56570527400ad540990b86ca47bdb Mon Sep 17 00:00:00 2001 From: Billie Cleek Date: Sat, 4 May 2019 21:37:20 -0700 Subject: [PATCH] completion: fix gocode processing Fix the processing of matches from gocode. This was accidentally broken in dac81d653dfcec98624a016dc3ba854959d7df9b when the processing of the gocode results was changed so that the response array was trimmed to the dictionary in the initial processing of the results. --- autoload/go/complete.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autoload/go/complete.vim b/autoload/go/complete.vim index 987c484036..072153eab2 100644 --- a/autoload/go/complete.vim +++ b/autoload/go/complete.vim @@ -242,8 +242,7 @@ function! go#complete#GocodeComplete(findstart, base) abort if s =~ '[(){}\{\}]' return map(copy(s:completions[1]), 's:trim_bracket(v:val)') endif - - return s:completions[1] + return s:completions endif endfunction