Better split resize mappings

This commit is contained in:
Juan Magalhães 2023-08-16 15:04:34 -03:00
parent 8c5d2bc36e
commit 3cee875f97
2 changed files with 16 additions and 4 deletions

View file

@ -1,10 +1,12 @@
local createImporter = function(path)
path = path or ""
return function(module)
require(path .. "." .. module)
end
end
local createNmap = function(opts)
opts = opts or {}
return function(keys, func, _desc)
if opts.desc then
_desc = opts.desc .. _desc