Add plugin to &rtp before running post-update hook with : prefix

Close #593
This commit is contained in:
Junegunn Choi
2017-02-11 23:27:52 +09:00
parent e80a93d5d0
commit f551a71688
2 changed files with 13 additions and 0 deletions

View File

@@ -332,3 +332,12 @@ Execute (Cursor moved to another window during post-update hook):
AssertEqual 'empty', getline(1)
q!
q
**********************************************************************
Execute (#593 Add plugin to &rtp before running post-update hook with : prefix):
call ReloadPlug()
call plug#begin()
Plug 'junegunn/vim-pseudocl', { 'on': 'XXX', 'do': ':let g:bar = pseudocl#complete#extract_words(''a b'')' }
call plug#end()
PlugInstall!
AssertEqual ['a', 'b'], g:bar