fatih / vim-go

Go development plugin for Vim
https://www.patreon.com/bhcleek
Other
16.01k stars 1.45k forks source link

"vim-go: initialized gopls" should disappear after 3ms? #2648

Closed winkee01 closed 4 years ago

winkee01 commented 4 years ago

What did you do? (required: The issue will be closed when not provided)

vim open hello.go, the message "vim-go: initialized gopls" is displayed at the bottom, but never disappear.

From most experiences, the message that serves as informing purposes only display for a short time then fades, but in this case it keeping saying "vim-go: initialized gopls", kind of annoying and disturbing, is it possible to make it disappear after it accomplishes its purposes?

What did you expect to happen?

"vim-go: initialized gopls" disappear after 3ms display.

What happened instead?

won't disappear automatically

initializegopls

Configuration (MUST fill this out):

default configuration

vim-go version:

latest

vimrc you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):

vimrc
Plug 'fatih/vim-go'

Vim version (first three lines from :version):

vim8.2

Go version (go version):

go version go1.13.3 darwin/amd64

Go environment

go env Output:

GO111MODULE=""
GOARCH="amd64"
GOOS="darwin"

gopls version

gopls version Output:

golang.org/x/tools/gopls 0.2.2
bhcleek commented 4 years ago

It will disappear when the screen is next redrawn.

Since you're using Vim 8.2, I recommend that you using vim-go statusline integrion (see :help go#statusline#Show() and disable g:go_echo_command_info - you'll end up with the experience you're looking for overall, I think.