From e6e7893346f5e9708b88e1fe266a1cca0320d2f7 Mon Sep 17 00:00:00 2001 From: Billie Cleek Date: Mon, 25 Mar 2024 07:45:06 -0700 Subject: [PATCH] lsp: fix handleLocations next call Remove the third argument from the handleLocations next call. Fixes #3653 --- autoload/go/lsp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/go/lsp.vim b/autoload/go/lsp.vim index b02b5f7589..054eea7a67 100644 --- a/autoload/go/lsp.vim +++ b/autoload/go/lsp.vim @@ -939,7 +939,7 @@ function! s:handleLocations(next, msg) abort let l:result = add(l:result, l:item) endfor - call call(a:next, [0, l:result, '']) + call call(a:next, [0, l:result]) endfunction " go#lsp#Implementations calls gopls to get the implementations to the