0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

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)
This commit is contained in:
Bram Moolenaar
2015-06-25 18:20:36 +02:00
parent b5c3265521
commit fa67fbe6b8
2 changed files with 6 additions and 0 deletions

View File

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