From 4e1131e152693b2ac4b17941851319124b390f2c Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Sat, 27 Aug 2011 13:22:56 +0200 Subject: Move version variable to autoload script --- plugin/easytags.vim | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'plugin/easytags.vim') 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 -" 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 -- cgit v1.2.3