From 107b23366136d6dcca661cae242b1899a7cc61f5 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Sun, 29 Jun 2014 19:55:41 +0200 Subject: Don't use :redraw in :HighlightTags during session loading --- autoload/xolox/easytags.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index 6e38792..73d538e 100644 --- a/autoload/xolox/easytags.vim +++ b/autoload/xolox/easytags.vim @@ -327,7 +327,11 @@ function! xolox#easytags#highlight() " {{{2 endif endif endfor - redraw + " Avoid flashing each highlighted buffer in front of the user when + " loading a session. + if !xolox#easytags#session_is_loading() + redraw + endif let bufname = expand('%:p:~') if bufname == '' let bufname = 'unnamed buffer #' . bufnr('%') -- cgit v1.2.3