From ab213ef3003e3aecc83af651b0c3d18e3b19c012 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Sat, 22 Apr 2023 14:06:40 +0300 Subject: [PATCH] fix --- lua/user/cmp_gh_source.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)