Skip to content

Commit 87919fa

Browse files
committed
bugfix
1 parent 8271f03 commit 87919fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/easycomplete.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ function EasyComplete.distinct_keywords(menu_list)
235235
return result_items
236236
end
237237

238+
function EasyComplete.register_source(tb)
239+
vim.fn["easycomplete#RegisterSource"](tb)
240+
end
241+
238242
-- 判断 diagnostics 中是否已经包含 item(根据 sortNumber)
239243
function EasyComplete.has(diagnostics, item)
240244
local item_sort = item.sortNumber

0 commit comments

Comments
 (0)