diff --git a/lua/go/lsp.lua b/lua/go/lsp.lua index 07f512e..739e6c6 100644 --- a/lua/go/lsp.lua +++ b/lua/go/lsp.lua @@ -273,7 +273,7 @@ local name_map = { byte = 'b', } -function gen_name(types) +local function gen_name(types) local rets = {} local used = {} for _, t in pairs(types) do