chore: unused variable

This commit is contained in:
fiplox 2023-04-09 18:28:02 +02:00
parent c711b690b3
commit 3c235a3155

View File

@ -77,7 +77,7 @@ function M.config()
},
formatting = {
fields = { 'abbr', 'kind', 'menu' },
format = function(entry, item)
format = function(_, item)
local ELLIPSIS_CHAR = ''
local MAX_LABEL_WIDTH = 20
item.kind = string.format('%s %s', kind_icons[item.kind], item.kind) -- This concatonates the icons with the name of the item kind