aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/easytags.vim
diff options
context:
space:
mode:
authorDaniel Hahler <git-commit@thequod.de>2011-03-19 02:18:46 +0100
committerPeter Odding <peter@peterodding.com>2011-03-19 02:24:08 +0100
commit6e279a38a9caa946251502f5d630d9c45b095689 (patch)
treea72d954adfaabcfb7d951a564236977563cc0005 /plugin/easytags.vim
parent29fded230f8ed2354b7080603e1be169b0cb758c (diff)
downloadvim-easytags-6e279a38a9caa946251502f5d630d9c45b095689.tar.gz
Add g:easytags_suppress_ctags_warning option
When set and != 0 this will suppress the ctags warning on startup.
Diffstat (limited to 'plugin/easytags.vim')
-rw-r--r--plugin/easytags.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugin/easytags.vim b/plugin/easytags.vim
index 5aa4293..a0ba269 100644
--- a/plugin/easytags.vim
+++ b/plugin/easytags.vim
@@ -1,10 +1,10 @@
" Vim plug-in
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: March 15, 2011
+" Last Change: March 19, 2011
" URL: http://peterodding.com/code/vim/easytags/
" Requires: Exuberant Ctags (http://ctags.sf.net)
" License: MIT
-" Version: 2.2
+" Version: 2.2.1
" Support for automatic update using the GLVS plug-in.
" GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip
@@ -100,6 +100,9 @@ function! s:VersionToNumber(s)
endfunction
if !s:InitEasyTags(55)
+ if exists('g:easytags_suppress_ctags_warning') && g:easytags_suppress_ctags_warning
+ finish
+ endif
if !exists('g:easytags_ctags_version') || empty(g:easytags_ctags_version)
let s:msg = "%s: Plug-in not loaded because Exuberant Ctags isn't installed!"
if executable('apt-get')