This commit is contained in:
hrsh7th
2021-12-02 16:10:35 +09:00
parent c2652f0ac0
commit 7960dad502

View File

@@ -56,10 +56,7 @@ end
cmp.complete = function(option)
option = option or {}
cmp.core:complete(
cmp.core:get_context({ reason = option.reason or cmp.ContextReason.Manual }),
option.sources
)
cmp.core:complete(cmp.core:get_context({ reason = option.reason or cmp.ContextReason.Manual }), option.sources)
return true
end