diff options
author | Peter Odding <peter@peterodding.com> | 2011-06-13 01:13:07 +0200 |
---|---|---|
committer | Peter Odding <peter@peterodding.com> | 2011-06-13 01:13:07 +0200 |
commit | 6c959d2c2577da0c7007a1b655656199fed75893 (patch) | |
tree | c5c422359df5ec0898bf65c1ad6530c0146f562a | |
parent | eb7061095fdd9688031e31a71e092ead061778e0 (diff) | |
download | vim-easytags-6c959d2c2577da0c7007a1b655656199fed75893.tar.gz |
Automatically run :HighlightTags after using :UpdateTags
-rw-r--r-- | autoload/xolox/easytags.vim | 7 | ||||
-rw-r--r-- | 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 <peter@peterodding.com> -" Last Change: May 23, 2011 +" Last Change: June 13, 2011 " URL: http://peterodding.com/code/vim/easytags/ let s:script = expand('<sfile>: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 <peter@peterodding.com> -" 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 |