mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-06 17:14:26 +08:00
Add plugin to &rtp before running post-update hook with : prefix
Close #593
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user