]> granicus.if.org Git - vim/commitdiff
patch 7.4.758 v7.4.758
authorBram Moolenaar <Bram@vim.org>
Thu, 25 Jun 2015 16:20:36 +0000 (18:20 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 25 Jun 2015 16:20:36 +0000 (18:20 +0200)
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
src/version.c

index cd9dffdeaf59c35d907f99483eb870e2f9c0452f..c6bbf670c1e4d77bbc0df799c2669e5064091076 100644 (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;
index 917f71a652b5f93f762ab42bff4eaee2e8e027fc..4b9329faa840f94aaac50718f3d142f11d92fe81 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    758,
 /**/
     757,
 /**/