summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-27 23:58:35 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-27 23:58:35 +0000
commit5e3cb7e8699f855193179a8cb799d1087f4a2ac9 (patch)
tree297e019074e2c2b85d5151701fcfae03bf02ceb9 /src/syntax.c
parenteddf53b02e2b007208b19c74fb616be2c0839b36 (diff)
downloadvim-git-5e3cb7e8699f855193179a8cb799d1087f4a2ac9.tar.gz
updated for version 7.0209v7.0209
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c
index b5c346465..5a50b590f 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -6081,6 +6081,7 @@ static char *(highlight_init_both[]) =
"PmenuSbar ctermbg=Grey guibg=Grey",
"TabLineSel term=bold cterm=bold gui=bold",
"TabLineFill term=reverse cterm=reverse gui=reverse",
+ "MatchParen term=reverse ctermbg=Cyan guibg=Cyan",
NULL
};
@@ -7925,8 +7926,10 @@ highlight_list_one(id)
msg_outtrans(HL_TABLE()[HL_TABLE()[id - 1].sg_link - 1].sg_name);
}
+ if (!didh)
+ highlight_list_arg(id, didh, LIST_STRING, 0, (char_u *)"cleared", "");
#ifdef FEAT_EVAL
- if (didh && p_verbose > 0)
+ if (p_verbose > 0)
last_set_msg(sgp->sg_scriptID);
#endif
}
@@ -7973,8 +7976,11 @@ highlight_list_arg(id, didh, type, iarg, sarg, name)
didh = TRUE;
if (!got_int)
{
- MSG_PUTS_ATTR(name, hl_attr(HLF_D));
- MSG_PUTS_ATTR("=", hl_attr(HLF_D));
+ if (*name != NUL)
+ {
+ MSG_PUTS_ATTR(name, hl_attr(HLF_D));
+ MSG_PUTS_ATTR("=", hl_attr(HLF_D));
+ }
msg_outtrans(ts);
}
}