summaryrefslogtreecommitdiff
path: root/runtime/plugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-27 00:02:13 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-27 00:02:13 +0000
commitf193fffd16563cfbe7c02a21e19c8bb11707581d (patch)
tree4bae3092421aa986103b8000b1012989a9ea49e6 /runtime/plugin
parent551dbcc9b604c2992f908fb475e797fcc116315b (diff)
downloadvim-f193fffd16563cfbe7c02a21e19c8bb11707581d.zip
updated for version 7.0f02
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/vimballPlugin.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/plugin/vimballPlugin.vim b/runtime/plugin/vimballPlugin.vim
index e1ea57e26..95c06c3ec 100644
--- a/runtime/plugin/vimballPlugin.vim
+++ b/runtime/plugin/vimballPlugin.vim
@@ -9,9 +9,10 @@
" ---------------------------------------------------------------------
" Load Once: {{{1
-if &cp || exists("g:loaded_vimball")
+if &cp || exists("g:loaded_vimball") || exists("g:loaded_vimballplugin")
finish
endif
+let g:loaded_vimballplugin= 1
let s:keepcpo= &cpo
set cpo&vim
@@ -22,7 +23,7 @@ com! -ra -na=+ -bang MkVimball call vimball#MkVimball(<line1>,<line2>,<bang>0,<f
com! -na=0 UseVimball call vimball#Vimball(1)
com! -na=0 VimballList call vimball#Vimball(0)
au BufEnter *.vba.gz,*.vba.bz2,*.vba.zip call vimball#Decompress(expand("<amatch>"))
-au BufEnter *.vba echohl WarningMsg | echo "Source this file to extract it! (:so %)" | echohl None
+au BufEnter *.vba call vimball#ShowMesg("Source this file to extract it! (:so %)")
let &cpo= s:keepcpo
unlet s:keepcpo