We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import ( "errors" // "fmt" )
:GoImport fmt
import ( "errors" "fmt" )
"fmt" already being imported
:version
NVIM v0.2.2 Build type: RelWithDebInfo
go version
go version go1.10 linux/amd64
go env
GOARCH="amd64" GOBIN="" GOCACHE="/home/user/.cache/go-build" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/user/go" GORACE="" GOROOT="/opt/golang" GOTMPDIR="" GOTOOLDIR="/opt/golang/pkg/tool/linux_amd64" GCCGO="gccgo" CC="gcc" CXX="g++" CGO_ENABLED="1" 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-build027896217=/tmp/go-build -gno-record-gcc-switches"
Last installed by vim-plug
vimrc
https://gist.github.com/DevAlone/4f5ec03f17d42ce3bb730060ac1eb594
The text was updated successfully, but these errors were encountered:
The entire thing is a regexp-based mess of ugly. I rewrote the lot with #1559, just need to finish that up when I have the time!
Sorry, something went wrong.
Add test case for commented-out packages
0defc90
fatih/vim-go#1717
import: disregard commented imports
536cf81
Adjust the regular expression that matches existing imports so that commented out package imports will will not be matched. Fixes fatih#1717
arp242
Successfully merging a pull request may close this issue.
What did you do? (required. The issue will be closed when not provided.)
:GoImport fmt
What did you expect to happen?
What happened instead?
"fmt" already being imported
Configuration (MUST fill this out):
:version
):NVIM v0.2.2
Build type: RelWithDebInfo
go version
):go version go1.10 linux/amd64
go env
):GOARCH="amd64"
GOBIN=""
GOCACHE="/home/user/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/user/go"
GORACE=""
GOROOT="/opt/golang"
GOTMPDIR=""
GOTOOLDIR="/opt/golang/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
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-build027896217=/tmp/go-build -gno-record-gcc-switches"
Last installed by vim-plug
vimrc
you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):https://gist.github.com/DevAlone/4f5ec03f17d42ce3bb730060ac1eb594
The text was updated successfully, but these errors were encountered: