Skip to content

Commit ce23086

Browse files
tadashi-aikawaAntoineGS
authored andcommitted
fix: highlighting of suggestions may become "MatchParen" under certain conditions
1 parent a5c390f commit ce23086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/copilot/suggestion/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ local function update_preview(ctx)
340340
extmark.virt_text[3] = { annot, hl_group.CopilotAnnotation }
341341
end
342342

343-
extmark.hl_mode = "combine"
343+
extmark.hl_mode = "replace"
344344
vim.api.nvim_buf_set_extmark(0, copilot.ns_id, vim.fn.line(".") - 1, cursor_col - 1, extmark)
345345

346346
if config.suggestion.suggestion_notification then

0 commit comments

Comments
 (0)