From b51ba122c1edfb769e72c25c4f14f469f59f1b8e Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Tue, 2 Jul 2019 15:53:43 +0200 Subject: screen: use dedicated message grid add proper msg_set_pos event, delet win_scroll_over_* make compositor click through unfocusable grids add MsgArea attribute for the message/cmdline area, and add docs and tests --- src/nvim/syntax.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nvim/syntax.c') diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 02b72be0ae..4b9e84745a 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -7533,6 +7533,9 @@ void highlight_changed(void) hlf == (int)HLF_INACTIVE); if (highlight_attr[hlf] != highlight_attr_last[hlf]) { + if (hlf == HLF_MSG) { + clear_cmdline = true; + } ui_call_hl_group_set(cstr_as_string((char *)hlf_names[hlf]), highlight_attr[hlf]); highlight_attr_last[hlf] = highlight_attr[hlf]; -- cgit