Mercurial > vim
changeset 6876:4ece46045a5a v7.4.758
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 25 Jun 2015 18:20:36 +0200 |
parents | e21db7bc04e2 |
children | cef5315b4335 |
files | src/ex_getln.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -6611,6 +6611,10 @@ ex_window() /* 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; win_goto(old_curwin);