Skip to content

Commit

Permalink
Automatically run :HighlightTags after using :UpdateTags
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Jun 12, 2011
1 parent eb70610 commit 6c959d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion 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:~')
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions 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
Expand Down

0 comments on commit 6c959d2

Please sign in to comment.