Remove manual dup filter

This commit is contained in:
hrsh7th
2021-09-03 19:05:24 +09:00
parent e867bf233e
commit e599f0825c
2 changed files with 6 additions and 17 deletions

View File

@@ -63,11 +63,10 @@ core.ghost_text = function(e)
ctx.cursor.row - 1,
ctx.cursor.col - 1,
{
right_gravity = true,
virt_text = { { text, 'Comment' } },
virt_text_pos = 'overlay',
virt_text_win_col = ctx.cursor.col - 1,
hl_mode = 'blend',
hl_mode = 'combine',
priority = 0,
ephemeral = true,
}
@@ -81,6 +80,7 @@ core.sources = {}
---@type cmp.Context
core.context = context.new()
---Register source
---@param s cmp.Source
core.register_source = function(s)