Skip to content

Commit

Permalink
lsp: fix handleLocations next call
Browse files Browse the repository at this point in the history
Remove the third argument from the handleLocations next call.

Fixes fatih#3653
  • Loading branch information
bhcleek committed Mar 25, 2024
1 parent e39d7ee commit e6e7893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/go/lsp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6e7893

Please sign in to comment.