Missing command GoDef
janbaer opened this issue · comments
I wanted to try your plugin instead of VimGo but what I immediately missed was GoDef when I wanted to navigate to a file that I referenced in my imports. How about this command? Is there any alternative which I could use instead?
Here's the output of GoDiag
VERSION
VIM - Vi IMproved 8.1 (2018 May 18, compiled Jul 4 2019 23:02:48); Included patches: 1-1635
go version go1.12.5 linux/amd64; GOPATH=/home/jan/go; GOROOT=/usr/local/go; GO111MODULE=(unset)
gopher.vim version d2b43a6 2019-08-15 15:52:59 +0100 (2 days ago) Make the version check for for development versions of Go
VARIABLES
gopher_tag_transform snakecase
gopher_map {'_default': 1, 'return': 'r', 'implement': 'm', 'error': 'e', '_imap_ctrl': 1, '_popup': 1, '_nmap_prefix': ';', '_imap
_prefix': '<C-k>', 'if': 'i'}
gopher_debug []
gopher_tag_default json
gopher_highlight ['string-spell', 'string-fmt']
gopher_build_flags []
gopher_build_tags []
Yeah, all that stuff is handled by LSP (gopls
for Go). There are already a whole bunch of LSP clients for Vim, so no need to reinvent the wheel here. See: https://github.com/arp242/gopher.vim#companion-plugins