From 6c959d2c2577da0c7007a1b655656199fed75893 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Mon, 13 Jun 2011 01:13:07 +0200 Subject: Automatically run :HighlightTags after using :UpdateTags --- autoload/xolox/easytags.vim | 7 ++++++- plugin/easytags.vim | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index 4928ef5..df109be 100644 --- a/autoload/xolox/easytags.vim +++ b/autoload/xolox/easytags.vim @@ -1,6 +1,6 @@ " Vim script " Author: Peter Odding -" Last Change: May 23, 2011 +" Last Change: June 13, 2011 " URL: http://peterodding.com/code/vim/easytags/ let s:script = expand(':p:~') @@ -58,6 +58,11 @@ function! xolox#easytags#update(silent, filter_tags, filenames) " {{{2 call xolox#misc#timer#stop(msg, s:script, num_filtered, starttime) endif endif + " When :UpdateTags was executed manually we'll refresh the dynamic + " syntax highlighting so that new tags are immediately visible. + if !a:silent + HighlightTags + endif return 1 catch call xolox#misc#msg#warn("%s: %s (at %s)", s:script, v:exception, v:throwpoint) diff --git a/plugin/easytags.vim b/plugin/easytags.vim index 85ed520..e005fda 100644 --- a/plugin/easytags.vim +++ b/plugin/easytags.vim @@ -1,10 +1,10 @@ " Vim plug-in " Author: Peter Odding -" Last Change: May 25, 2011 +" Last Change: June 13, 2011 " URL: http://peterodding.com/code/vim/easytags/ " Requires: Exuberant Ctags (http://ctags.sf.net) " License: MIT -" Version: 2.2.10 +" Version: 2.2.11 " Support for automatic update using the GLVS plug-in. " GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip -- cgit v1.2.3