Skip to content

Commit

Permalink
Specify the next branch explicitly.
Browse files Browse the repository at this point in the history
According junegunn/vim-plug#288 (comment) we have to precise the branch to clone if different of "master" in despite the fact that the "next" branch is set by default:

> `Plug 'something'` is simply a shorthand notation of `Plug 'something', { 'branch': 'master' }`

I was trying many times to install LanguageClient-neovim from scratch and invariably the master branch was cloned.
  • Loading branch information
piouPiouM authored and autozimu committed Dec 10, 2017
1 parent 619c7a7 commit 48df298
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ functional.)
Using [`vim-plug`](https://github.com/junegunn/vim-plug):

```vim
Plug 'autozimu/LanguageClient-neovim', {'do': './install.sh' }
Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': './install.sh'
\ }
" (Optional) Multi-entry selection UI.
Plug 'junegunn/fzf'
Expand Down
2 changes: 1 addition & 1 deletion min-init.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
call plug#begin('~/.local/share/nvim/plugged')

Plug 'autozimu/LanguageClient-neovim', {'do': './install.sh' }
Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': './install.sh' }

call plug#end()

Expand Down

0 comments on commit 48df298

Please sign in to comment.