This is Vim plugin for gotests
.
To use this plugin, you need to install gotests
binary itself first. To install, run go get
:
$ go get github.com/tcnksm/gotests
To install, use well known plugin manager. You can add the following lines and execute the plugin's install:
- vim-plug
Plug 'tcnksm/gotests', { 'rtp': 'editor/vim' }
- NeoBundle
NeoBundle 'tcnksm/gotests', { 'rtp': 'editor/vim' }
- Vundle
Plugin 'tcnksm/gotests', { 'rtp': 'editor/vim' }
If you don't use any plugin manager, run the following command and link to the plugin path,
$ sh $GOPATH/src/github.com/tcnksm/gotests/editor/vim/symlink.sh