You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vimrc you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):
call plug#begin('~/vimfiles/plugged')
Plug 'fatih/vim-go'
call plug#end()
" go-vim
let g:go_template_autocreate = 0
let g:go_fmt_command = "goimports"
let g:go_def_mode='gopls'
let g:go_info_mode='gopls'
let g:go_metalinter_command='golangci-lint'
Vim version (first three lines from :version):
VIM - Vi IMproved 8.1
Included patches: 1-1201
Go version (go version): go version go1.12.4 windows/amd64
Go environment (go env):
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\kalashnikov_s\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\WLCR\go
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\KALASH~1\AppData\Local\Temp\go-build468378114=/tmp/go-build -gno-record-gcc-switches
Comments
There's no problem with gocode.
The text was updated successfully, but these errors were encountered:
halega
changed the title
:GoInfo truncates function signature at { with gopls
:GoInfo shows function signature truncated at { with gopls
Apr 26, 2019
bhcleek
added a commit
to bhcleek/vim-go
that referenced
this issue
Apr 26, 2019
Only strip the '{' onwards on type struct and interface types so that
functions that have a parameter of type interface{} and function types
don't get truncated.
Fixesfatih#2243
What did you do? (required. The issue will be closed when not provided.)
let g:go_info_mode='gopls'
in.vimrc
.What did you expect to happen?
GoInfo shows fmt.Println function full signature:
What happened instead?
GoInfo shows fmt.Println function signature truncated at {:
Configuration (MUST fill this out):
vim-go version: v1.20 (58cda9d)
vimrc
you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc)::version
):Go version (
go version
): go version go1.12.4 windows/amd64Go environment (
go env
):Comments
There's no problem with gocode.
The text was updated successfully, but these errors were encountered: