fix(ghost_text): ephemeral causes a false positive of no inline support (#1645)

This commit is contained in:
PlankCipher 2023-08-12 05:55:52 +03:00 committed by GitHub
parent 969c5affa5
commit 51f1e11a89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))