Merge #8680 from janlazo/vim-8.0.0640

This commit is contained in:
Justin M. Keyes 2018-07-04 19:23:56 +02:00 committed by GitHub
commit 2bfabd5bf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -337,6 +337,8 @@ void update_screen(int type)
screenclear(); // will reset clear_cmdline
cmdline_screen_cleared(); // clear external cmdline state
type = NOT_VALID;
// must_redraw may be set indirectly, avoid another redraw later
must_redraw = 0;
}
if (clear_cmdline) /* going to clear cmdline (done below) */

View File

@ -3034,9 +3034,9 @@ static void syn_cmd_conceal(exarg_T *eap, int syncing)
next = skiptowhite(arg);
if (*arg == NUL) {
if (curwin->w_s->b_syn_conceal) {
MSG(_("syn conceal on"));
MSG(_("syntax conceal on"));
} else {
MSG(_("syn conceal off"));
MSG(_("syntax conceal off"));
}
} else if (STRNICMP(arg, "on", 2) == 0 && next - arg == 2) {
curwin->w_s->b_syn_conceal = true;