Skip to content

Commit b274364

Browse files
brammooldouglaskayama
authored andcommitted
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)
1 parent 16168c4 commit b274364

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/ex_getln.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6624,6 +6624,10 @@ ex_window()
66246624
# ifdef FEAT_AUTOCMD
66256625
/* Don't execute autocommands while deleting the window. */
66266626
block_autocmds();
6627+
# endif
6628+
# ifdef FEAT_CONCEAL
6629+
/* Avoid command-line window first character being concealed. */
6630+
curwin->w_p_cole = 0;
66276631
# endif
66286632
wp = curwin;
66296633
bp = curbuf;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@ static char *(features[]) =
756756

757757
static int included_patches[] =
758758
{ /* Add new patch number below this line */
759+
/**/
760+
758,
759761
/**/
760762
757,
761763
/**/

0 commit comments

Comments
 (0)