aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-07-02 15:53:43 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-09-01 15:55:10 +0200
commitb51ba122c1edfb769e72c25c4f14f469f59f1b8e (patch)
tree84052cf27b2e1aa904b898cd01d9d35df9afaf92 /src/nvim/syntax.c
parent9cec097ffacfd0de100912781df2efed1a4c8ba9 (diff)
downloadrneovim-b51ba122c1edfb769e72c25c4f14f469f59f1b8e.tar.gz
rneovim-b51ba122c1edfb769e72c25c4f14f469f59f1b8e.tar.bz2
rneovim-b51ba122c1edfb769e72c25c4f14f469f59f1b8e.zip
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
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c3
1 files changed, 3 insertions, 0 deletions
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];