Documentation: installation with vim-plug to get the latest release
After installing the plugin with vim-plug i realized that it got the master branch and not the latest release. I changed the documentation so that the recommended way to install vim-go with vim-plug install the latest release. I don't really know what could be the solution for Pathogen, Vim 8, I guess we could use :
git clone -b v1.23 https://github.com/fatih/vim-go
but this will requires to be change for each release. I have no idea how to do the same with Vundle
How does plug's tag option work? How does it determine which tag to use?
Documentation on vim-plug says that { 'tag': '*' } option will point to the latest tagged release: https://github.com/junegunn/vim-plug/releases/tag/0.9.0 and line 169-170 of https://github.com/junegunn/vim-plug/blob/master/doc/plug.txt
Thanks for contributing!
In general, I try to keep master working well. I use it daily, though there can sometimes be issues.
@etnnth thank you for this suggestion! Just in case someone else is also experiencing this: when I do a :PlugUpdate plug will always run the Post-update hook and thus reinstall all vim-go related binaries like gopls, guru, ... Even though I am on the latest release of vim-go already. That behavior is unexpected to me. I would expect plug not to do anything if I am already on the latest release. Like it does when I am just relying on master.