vim-go icon indicating copy to clipboard operation
vim-go copied to clipboard

Documentation: installation with vim-plug to get the latest release

Open etnnth opened this issue 5 years ago • 4 comments

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

etnnth avatar Aug 07 '20 10:08 etnnth

How does plug's tag option work? How does it determine which tag to use?

bhcleek avatar Aug 07 '20 19:08 bhcleek

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

etnnth avatar Aug 07 '20 20:08 etnnth

Thanks for contributing!

In general, I try to keep master working well. I use it daily, though there can sometimes be issues.

bhcleek avatar Aug 07 '20 21:08 bhcleek

@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.

teleivo avatar May 05 '21 12:05 teleivo