From 971a13ca98c05bf8c10b2216c08c4018a9fd9f76 Mon Sep 17 00:00:00 2001 From: Cade-Forester Date: Wed, 25 Feb 2015 23:33:09 +0500 Subject: [PATCH] Allow using ":EmmetInstall | OtherCommand" Example of usage: autocmd FileType html EmmetInstall | setlocal omnifunc=emmet#completeTag --- plugin/emmet.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/emmet.vim b/plugin/emmet.vim index 8b79bd0..451e247 100644 --- a/plugin/emmet.vim +++ b/plugin/emmet.vim @@ -150,7 +150,7 @@ function! s:install_plugin(mode, buffer) endfor endfunction -command! -nargs=0 EmmetInstall call install_plugin(get(g:, 'user_emmet_mode', 'a'), 1) +command! -nargs=0 -bar EmmetInstall call install_plugin(get(g:, 'user_emmet_mode', 'a'), 1) if get(g:, 'user_emmet_install_global', 1) call s:install_plugin(get(g:, 'user_emmet_mode', 'a'), 0)