Print warning message when plug window is closed

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

No files matched your search

+11
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`
**********************************************************************