aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-05-02 00:57:39 +0200
committerPeter Odding <peter@peterodding.com>2011-05-02 00:57:39 +0200
commit6ddd431b695e6a93227102cc097cf3f360071633 (patch)
tree98b7c60080808cfe0ac385d6baa53b95ee34a5d5 /plugin
parent670910e860fa2b74223add86af572bd6299f0b65 (diff)
downloadvim-easytags-6ddd431b695e6a93227102cc097cf3f360071633.tar.gz
Check that the xolox#misc submodule is available
Diffstat (limited to 'plugin')
-rw-r--r--plugin/easytags.vim12
1 files changed, 11 insertions, 1 deletions
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('<sfile>: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')