Ignore useless use of on-demand loading (#786)

This commit is contained in:
Junegunn Choi
2018-09-12 13:40:33 +09:00
committed by GitHub
parent 8ed2617ba0
commit 7f8fdd0444
3 changed files with 11 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ Execute (#130 Proper cleanup of on-demand loading triggers):
Plug 'junegunn/vim-emoji', { 'on': ['EmojiCommand', 'EmojiCommand2', '<Plug>(EmojiMapping)'] }
call plug#end()
PlugInstall | q
call mkdir(g:plugs['vim-emoji'].dir.'/after/plugin', 'p')
Assert exists(':EmojiCommand'), 'EmojiCommand not defined'
Assert exists(':EmojiCommand2'), 'EmojiCommand2 not defined'