aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/screen.c2
-rw-r--r--src/nvim/syntax.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 4c011e466b..ce5c994526 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -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) */
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 53bfd161ca..98e457db18 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -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;