From 56095e1cebcdf7a4607c147e485f8a2e12578848 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 9 Oct 2014 10:44:37 +0200 Subject: [PATCH] updated for version 7.4.466 Problem: CTRL-W } does not open preview window. (Erik Falor) Solution: Don't set g_do_tagpreview for CTRL-W }. --- src/version.c | 2 ++ src/window.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/version.c b/src/version.c index c502cdc4b..6417a491d 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 466, /**/ 465, /**/ diff --git a/src/window.c b/src/window.c index 5a2d8a42b..fda9199b2 100644 --- a/src/window.c +++ b/src/window.c @@ -485,7 +485,8 @@ newwindow: else postponed_split = -1; #ifdef FEAT_QUICKFIX - g_do_tagpreview = 0; + if (nchar != '}') + g_do_tagpreview = 0; #endif /* Execute the command right here, required when "wincmd ]"