Better split resize mappings
This commit is contained in:
parent
8c5d2bc36e
commit
3cee875f97
2 changed files with 16 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue