Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do not highlight tags on :UpdateTags when it is configured off.

I turn off highlighting of tags (:let g:easytags_auto_highlight = 0), because I usually have very large tags databases. When I manually trigger an update via :UpdateTags, the highlighting is processed, though, resulting in the long delay or "regexp too long" error. The :UpdateTags command should honor the configuration setting.
  • Loading branch information...
commit 61b7bca82f9b9901c959b844e15f31cd3587cd48 1 parent 44b0487
@inkarkat inkarkat authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  autoload/xolox/easytags.vim
View
2  autoload/xolox/easytags.vim
@@ -120,7 +120,7 @@ function! xolox#easytags#update(silent, filter_tags, filenames) " {{{2
endif
" When :UpdateTags was executed manually we'll refresh the dynamic
" syntax highlighting so that new tags are immediately visible.
- if !a:silent
+ if !a:silent && xolox#misc#option#get('easytags_auto_highlight', 1)
HighlightTags
endif
return 1
Please sign in to comment.
Something went wrong with that request. Please try again.