From fa67fbe6b84133207271e4ff582c3d589172efd9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 25 Jun 2015 18:20:36 +0200 Subject: [PATCH] patch 7.4.758 Problem: When 'conceallevel' is 1 and quitting the command-line window with CTRL-C the first character ':' is erased. Solution: Reset 'conceallevel' in the command-line window. (Hirohito Higashi) --- src/ex_getln.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ex_getln.c b/src/ex_getln.c index cd9dffdea..c6bbf670c 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -6610,6 +6610,10 @@ ex_window() # ifdef FEAT_AUTOCMD /* Don't execute autocommands while deleting the window. */ block_autocmds(); +# endif +# ifdef FEAT_CONCEAL + /* Avoid command-line window first character being concealed. */ + curwin->w_p_cole = 0; # endif wp = curwin; bp = curbuf; diff --git a/src/version.c b/src/version.c index 917f71a65..4b9329faa 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 */ +/**/ + 758, /**/ 757, /**/ -- 2.40.0