aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/highlight.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-17 17:38:35 +0200
committerbfredl <bjorn.linse@gmail.com>2022-08-18 10:57:46 +0200
commite29156356b1895473d2f55c729d949c73014cd3c (patch)
tree26c5635d075a5cccce1fdf4e19f2a3b67ad4a30f /src/nvim/highlight.c
parent02e9b5a8eeaf2a4696dd68ab21b33b9fa7bd6a16 (diff)
downloadrneovim-e29156356b1895473d2f55c729d949c73014cd3c.tar.gz
rneovim-e29156356b1895473d2f55c729d949c73014cd3c.tar.bz2
rneovim-e29156356b1895473d2f55c729d949c73014cd3c.zip
fix(api): make nvim_set_hl(ns=0, ...) redraw screen properly
fixes #18160
Diffstat (limited to 'src/nvim/highlight.c')
-rw-r--r--src/nvim/highlight.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c
index 504cae9a51..21d7f9ada1 100644
--- a/src/nvim/highlight.c
+++ b/src/nvim/highlight.c
@@ -303,8 +303,6 @@ int hl_get_ui_attr(int ns_id, int idx, int final_id, bool optional)
if (pum_drawn()) {
must_redraw_pum = true;
}
- } else if (idx == HLF_MSG && ns_id == -1) {
- msg_grid.blending = attrs.hl_blend > -1;
}
if (optional && !available) {