Description
What did you do? (required. The issue will be closed when not provided.)
Hit colon and entered "GoImport" and tried to tab complete to package in current directory. Current directory is a go modules project.
What did you expect to happen?
Tab completion be aware of itself being in a go module directory.
What happened instead?
No tab completion. I did manually type the import and syntax tab completion worked fine.
Configuration (MUST fill this out):
-
vim-go version:
HEAD -
vimrc
you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc): -
Vim version (first three lines from
:version
):
NVIM v0.3.4
Build type: Release
LuaJIT 2.0.5 -
Go version (
go version
):
go version go1.12.1 darwin/amd64 -
Go environment (
go env
):
GOARCH="amd64"
GOBIN="/Users/louis/git/gopath/bin"
GOCACHE="/Users/louis/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/louis/git/gopath"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/louis/git/go/openfleet/go.mod"
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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mc/xwfdd41j1j74xfmcmphbwpgw0000gn/T/go-build017737187=/tmp/go-build -gno-record-gcc-switches -fno-common"