1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2016-08-24 21:21:26 +02:00
parent b58fe4588c
commit 358308dd99
4 changed files with 31 additions and 1 deletions

View File

@@ -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