-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
What did you do? (required: The issue will be closed when not provided)
- :GoGuruScope /root/hhl/git/msb-apigateway-go/apiroute/src/apiroute/...
- :GoReferrers for an identifier
What did you expect to happen?
list all the referrers for this identifier within specified scope
What happened instead?
- only list referrers within current package
- error appears at bottom:
vim-go: /root/hhl/git/msb-apigateway-go/apiroute/src/apiroute/cache/re...e: -1 at function 374[13]..377[26]..111_referencesHandler, line 12
Configuration (MUST fill this out):
vim-go version:
tried both v1.21 and master
vimrc you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):
root@nfvo1-E9000:~# cat .vimrc.go
set runtimepath^="/root/.vim_go_runtime"
source /root/.vim_go_runtime/vimrc/basic.vim
source /root/.vim_go_runtime/vimrc/filetypes.vim
source /root/.vim_go_runtime/vimrc/plugins.vim
source /root/.vim_go_runtime/vimrc/extended.vim
try
source /root/.vim_go_runtime/custom_config.vim
catch
endtry
Vim version (first three lines from :version):
8.1.2151
Go version (go version):
go1.12.10
Go environment
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/hhl/go:/root/hhl/git/msb-apigateway-go/apiroute:/root/hhl/git/msb-sdclient-go/sdclient"
GOPROXY=""
GORACE=""
GOROOT="/root/.gvm/gos/go1.12.10"
GOTMPDIR=""
GOTOOLDIR="/root/.gvm/gos/go1.12.10/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build551488242=/tmp/go-build -gno-record-gcc-switches"