Skip to content

Commit eef9192

Browse files
committed
doc: fix :GoDocBrowser with arguments
Fix :GoDocBrowser when arguments are given. This seems to have been broken for a long time.
1 parent bbfd039 commit eef9192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/go/doc.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function! go#doc#OpenBrowser(...) abort
1919
call go#util#OpenBrowser(l:url)
2020
endfunction
2121

22-
function! s:docURL() abort
22+
function! s:docURL(...) abort
2323
if len(a:000) == 0 && go#config#GoplsEnabled()
2424
" call go#lsp#DocLink directly instead of s:docURLFor, because s:docURLFor
2525
" will strip any version information from the URL.

0 commit comments

Comments
 (0)