-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Something like that:
local source = {}
source.complete = function(self, params, callback)
vim.fn["tmuxcomplete#async#gather_candidates"](function (raw_items)
local items = {}
for _, word in ipairs(raw_items) do
table.insert(items, {
label = word,
dup = 0,
})
end
callback({ items = items })
end)
end
source.new = function()
return setmetatable({}, { __index = source })
endrequire('cmp').register_source('tmux', source.new())declancm, silentjay, bartels and Stuart-GH
Metadata
Metadata
Assignees
Labels
No labels