From 51f1e11a89ec701221877532ee1a23557d291dd5 Mon Sep 17 00:00:00 2001 From: PlankCipher Date: Sat, 12 Aug 2023 05:55:52 +0300 Subject: [PATCH] fix(ghost_text): `ephemeral` causes a false positive of no inline support (#1645) --- lua/cmp/view/ghost_text_view.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/cmp/view/ghost_text_view.lua b/lua/cmp/view/ghost_text_view.lua index 0b3be5c..a402603 100644 --- a/lua/cmp/view/ghost_text_view.lua +++ b/lua/cmp/view/ghost_text_view.lua @@ -15,7 +15,7 @@ local has_inline = (function() virt_text = { { ' ', 'Comment' } }, virt_text_pos = 'inline', hl_mode = 'combine', - ephemeral = true, + ephemeral = false, }) vim.api.nvim_buf_del_extmark(0, ghost_text_view.ns, id) end))