Print warning message when plug window is closed

This commit is contained in:
Junegunn Choi
2016-10-08 23:06:24 +09:00
parent 6454158846
commit c0a83826f9
2 changed files with 22 additions and 1 deletions

View File

@@ -959,6 +959,17 @@ Execute (Vim command with : prefix):
AssertEqual '12345', getline(2)
q
Execute (Vim command with : prefix closing the window):
call plug#begin()
Plug 'junegunn/vim-pseudocl', { 'do': ':close' }
call plug#end()
redir => out
PlugInstall!
redir END
Assert out =~ 'vim-plug was terminated'
Assert out =~ 'of vim-pseudocl'
**********************************************************************
~ Overriding `dir`
**********************************************************************