We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea0204b + 68545b4 commit 594ae6bCopy full SHA for 594ae6b
autoload/go/calls.vim
@@ -4,7 +4,8 @@ set cpo&vim
4
5
function! go#calls#Callers() abort
6
if !go#config#GoplsEnabled()
7
- call go#util#EchoError("go_referrers_mode is 'gopls', but gopls is disabled")
+ call go#util#EchoError("gopls is disabled")
8
+ return
9
endif
10
let [l:line, l:col] = getpos('.')[1:2]
11
let [l:line, l:col] = go#lsp#lsp#Position(l:line, l:col)
autoload/go/referrers.vim
@@ -10,6 +10,7 @@ function! go#referrers#Referrers(selected) abort
elseif l:mode == 'gopls'
12
call go#util#EchoError("go_referrers_mode is 'gopls', but gopls is disabled")
13
14
15
16
0 commit comments