From d1e71df6bb73cf547e73d7ab2d3e1ba33419a265 Mon Sep 17 00:00:00 2001 From: Henry Hsieh Date: Wed, 24 Apr 2024 22:52:45 +0800 Subject: [PATCH] fix: virtual cursor hl overwhelme by search hl --- lua/hop/hint.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/hop/hint.lua b/lua/hop/hint.lua index b1d5d0f..4b92088 100644 --- a/lua/hop/hint.lua +++ b/lua/hop/hint.lua @@ -202,7 +202,7 @@ function M.set_hint_extmarks(hl_ns, hints, opts) api.nvim_buf_set_extmark(hint.jump_target.buffer, hl_ns, row, col, { virt_text = virt_text, virt_text_pos = opts.hint_type, - hl_mode = 'combine', + hl_mode = 'replace', priority = M.HintPriority.HINT, }) end