diff src/tag.c @ 9949:30be4b26a37e v7.4.2248

commit https://github.com/vim/vim/commit/358308dd99abdd56c6540339e505585d8db7bdfe Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 24 21:21:26 2016 +0200 patch 7.4.2248 Problem: When cancelling the :ptjump prompt a preview window is opened for a following command. Solution: Reset g_do_tagpreview. (Hirohito Higashi) Add a test. Avoid that the test runner gets stuck in trying to close a window.
author Christian Brabandt <cb@256bit.org>
date Wed, 24 Aug 2016 21:30:06 +0200
parents bb00c661b3a4
children 4aead6a9b7a9
line wrap: on
line diff
--- a/src/tag.c
+++ b/src/tag.c
@@ -1078,6 +1078,9 @@ end_do_tag:
 	curwin->w_tagstackidx = tagstackidx;
 #ifdef FEAT_WINDOWS
     postponed_split = 0;	/* don't split next time */
+# ifdef FEAT_QUICKFIX
+    g_do_tagpreview = 0;	/* don't do tag preview next time */
+# endif
 #endif
 
 #ifdef FEAT_CSCOPE