From 8ee3a0b36df623cf303c4e145ac8b27aefb4b23d Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 25 Sep 2013 12:41:49 +0900 Subject: [PATCH] Fix branch argument --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index b494f43..2e51d36 100644 --- a/plug.vim +++ b/plug.vim @@ -107,7 +107,7 @@ function! s:add(...) if a:0 == 2 let [plugin, branch] = [a:2, 'master'] elseif a:0 == 3 - let [plugin, branch] = a:000 + let [plugin, branch] = [a:2, a:3] else echoerr "Invalid number of arguments (1..2)" return