From 6ddd431b695e6a93227102cc097cf3f360071633 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Mon, 2 May 2011 00:57:39 +0200 Subject: Check that the xolox#misc submodule is available --- plugin/easytags.vim | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/easytags.vim b/plugin/easytags.vim index 0c0537a..4309ea1 100644 --- a/plugin/easytags.vim +++ b/plugin/easytags.vim @@ -4,7 +4,7 @@ " URL: http://peterodding.com/code/vim/easytags/ " Requires: Exuberant Ctags (http://ctags.sf.net) " License: MIT -" Version: 2.2.6 +" Version: 2.2.7 " Support for automatic update using the GLVS plug-in. " GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip @@ -16,6 +16,16 @@ endif let s:script = expand(':p:~') +" Make sure the submodule with miscellaneous auto-load scripts is available. +try + call xolox#misc#os#is_win() +catch /^Vim\%((\a\+)\)\=:E117/ + let s:msg = "It looks like the easytags plug-in wasn't correctly installed, if you're using" + let s:msg .= " git you should probably use 'git clone --recursive ...' to clone the repository!" + echoerr s:msg + finish +endtry + " Configuration defaults and initialization. {{{1 if !exists('g:easytags_file') -- cgit v1.2.3