This commit is contained in:
hrsh7th
2021-10-16 13:27:36 +09:00
parent 5fe7dc1eea
commit ebe040b1a9
7 changed files with 32 additions and 21 deletions

View File

@@ -38,7 +38,7 @@ context.new = function(prev_context, option)
option = option or {}
local self = setmetatable({}, { __index = context })
self.id = misc.id('context')
self.id = misc.id('cmp.context.new')
self.cache = cache.new()
self.prev_context = prev_context or context.empty()
self.option = option or { reason = types.cmp.ContextReason.None }