diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-07-02 15:53:43 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-09-01 15:55:10 +0200 |
commit | b51ba122c1edfb769e72c25c4f14f469f59f1b8e (patch) | |
tree | 84052cf27b2e1aa904b898cd01d9d35df9afaf92 /src/nvim/highlight.c | |
parent | 9cec097ffacfd0de100912781df2efed1a4c8ba9 (diff) | |
download | rneovim-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/highlight.c')
-rw-r--r-- | src/nvim/highlight.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c index 3a61409dfe..f44cd5cdab 100644 --- a/src/nvim/highlight.c +++ b/src/nvim/highlight.c @@ -7,6 +7,7 @@ #include "nvim/highlight.h" #include "nvim/highlight_defs.h" #include "nvim/map.h" +#include "nvim/message.h" #include "nvim/popupmnu.h" #include "nvim/screen.h" #include "nvim/syntax.h" @@ -161,6 +162,8 @@ int hl_get_ui_attr(int idx, int final_id, bool optional) if (pum_drawn()) { must_redraw_pum = true; } + } else if (idx == HLF_MSG) { + msg_grid.blending = attrs.hl_blend > -1; } if (optional && !available) { |