fix: Remove global

This commit is contained in:
danymat
2022-01-22 19:45:28 +01:00
parent d2d25ebb86
commit bf1d7e25c8

View File

@@ -18,7 +18,6 @@ require("neogen.generators.default")
local notify = neogen.utilities.helpers.notify
neogen.generate = function(opts)
P("here")
opts = opts or {}
opts.type = (opts.type == nil or opts.type == "") and "func" or opts.type -- Default type