Support { 'do': ':VimCommand' } notation

Close #450
This commit is contained in:
Junegunn Choi committed 2016-07-13 23:01:41 +09:00
1 parent 460fbe82e0
commit 17996cedce
3 files changed
+32 -4

No files matched your search

+6
View File
@@ -201,6 +201,12 @@ Plug 'Shougo/vimproc.vim', { 'do': 'make' }
Plug 'Valloric/YouCompleteMe', { 'do': './install.py' }
```
If the value starts with `:`, it will be recognized as a Vim command.
```vim
Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
```
If you need more control, you can pass a reference to a Vim function that
takes a single argument.