aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')