-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
What version of Go are you using (go version)?
go version go1.13.4 linux/amd64
Does this issue reproduce with the latest release? Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/g/g17/seth/.cache/go-build" GOENV="/g/g17/seth/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/g/g17/seth/dev/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/g/g17/seth/.local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/g/g17/seth/.local/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" 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=/var/tmp/seth/go-build901721020=/tmp/go-build -gno-record-gcc-switches"
What did you do?
vim version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Nov 6 2019 09:15:14)
Included patches: 1-2264
With govim, the minimal vimrc, and gopls master installed, attempted to complete an mpi command following the mpi.Start() line:
package main
import (
"fmt"
mpi "github.com/sbromberger/gompi"
)
func main() {
fmt.Println("foo")
mpi.Start()
}
I typed in mpi. and then hit ^x^o to perform a govim autocomplete. The only results returned were Byte.String, Complex.String, and Double.String.
What did you expect to see?
Other options including mpi.Stop
What did you see instead?
See above.
Log files attached.
Also note: problem manifests using ALE as well.
gopls_log_20191106_1300_53_965670529.txt
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.