diff --git a/lua/user/cmp_gh_source.lua b/lua/user/cmp_gh_source.lua index a2d3a93..f6d1219 100644 --- a/lua/user/cmp_gh_source.lua +++ b/lua/user/cmp_gh_source.lua @@ -8,9 +8,7 @@ local source = {} local enabled = true source.new = function() - local self = setmetatable({ cache = {} }, { __index = source }) - - return self + return setmetatable({ cache = {} }, { __index = source }) end source.complete = function(self, _, callback)