diff options
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 01d2728f3d..05bc6c9d96 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -3022,9 +3022,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(_("syn conceal on")); } else { - MSG(_("syn conceal off")); + MSG(_("syn conceal off")); } } else if (STRNICMP(arg, "on", 2) == 0 && next - arg == 2) { curwin->w_s->b_syn_conceal = true; @@ -3050,9 +3050,9 @@ static void syn_cmd_case(exarg_T *eap, int syncing) next = skiptowhite(arg); if (*arg == NUL) { if (curwin->w_s->b_syn_ic) { - MSG(_("syntax case ignore")); + MSG(_("syntax case ignore")); } else { - MSG(_("syntax case match")); + MSG(_("syntax case match")); } } else if (STRNICMP(arg, "match", 5) == 0 && next - arg == 5) { curwin->w_s->b_syn_ic = false; @@ -3078,11 +3078,11 @@ static void syn_cmd_spell(exarg_T *eap, int syncing) next = skiptowhite(arg); if (*arg == NUL) { if (curwin->w_s->b_syn_spell == SYNSPL_TOP) { - MSG(_("syntax spell toplevel")); + MSG(_("syntax spell toplevel")); } else if (curwin->w_s->b_syn_spell == SYNSPL_NOTOP) { - MSG(_("syntax spell notoplevel")); + MSG(_("syntax spell notoplevel")); } else { - MSG(_("syntax spell default")); + MSG(_("syntax spell default")); } } else if (STRNICMP(arg, "toplevel", 8) == 0 && next - arg == 8) { curwin->w_s->b_syn_spell = SYNSPL_TOP; @@ -5287,7 +5287,7 @@ get_id_list ( id += current_syn_inc_tag; } else if (name[1] == '@') { if (skip) { - id = -1; + id = -1; } else { id = syn_check_cluster(name + 2, (int)(end - p - 1)); } |