Use virtcol for virt_text_win_col

This commit is contained in:
hrsh7th
2021-09-03 19:50:19 +09:00
parent e599f0825c
commit dffe375b4a
2 changed files with 3 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ core.ghost_text = function(e)
{
virt_text = { { text, 'Comment' } },
virt_text_pos = 'overlay',
virt_text_win_col = ctx.cursor.col - 1,
virt_text_win_col = ctx.virtcol - 1,
hl_mode = 'combine',
priority = 0,
ephemeral = true,