aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-08-27 13:22:56 +0200
committerPeter Odding <peter@peterodding.com>2011-08-27 13:22:56 +0200
commit4e1131e152693b2ac4b17941851319124b390f2c (patch)
tree0d2d083a1c3a2b3d37e06c21d95f1766ab9bcdf9 /plugin
parent46d87b30f5a0c45b92d5ec1081f91f8ee5628f29 (diff)
downloadvim-easytags-4e1131e152693b2ac4b17941851319124b390f2c.tar.gz
Move version variable to autoload script
Diffstat (limited to 'plugin')
-rw-r--r--plugin/easytags.vim8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugin/easytags.vim b/plugin/easytags.vim
index a563297..d95ce86 100644
--- a/plugin/easytags.vim
+++ b/plugin/easytags.vim
@@ -1,6 +1,6 @@
" Vim plug-in
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: July 9, 2011
+" Last Change: August 27, 2011
" URL: http://peterodding.com/code/vim/easytags/
" Requires: Exuberant Ctags (http://ctags.sf.net)
@@ -12,8 +12,6 @@ if &cp || exists('g:loaded_easytags')
finish
endif
-let g:easytags_version = '2.4.11'
-
" Configuration defaults and initialization. {{{1
if !exists('g:easytags_file')
@@ -112,11 +110,11 @@ if !s:InitEasyTags(55)
else
let s:msg .= " Please download & install Exuberant Ctags from http://ctags.sf.net"
endif
- echomsg printf(s:msg, g:easytags_version)
+ echomsg printf(s:msg, g:xolox#easytags#version)
else
let s:msg = "easytags.vim %s: Plug-in not loaded because Exuberant Ctags 5.5"
let s:msg .= " or newer is required while you have version %s installed!"
- echomsg printf(s:msg, g:easytags_version, g:easytags_ctags_version)
+ echomsg printf(s:msg, g:xolox#easytags#version, g:easytags_ctags_version)
endif
unlet s:msg
finish