mapx.nvim
mapx.nvim copied to clipboard
Support metatables with `__call` metamethod as rhs
For example, this currently does not work:
require'mapx'.map("<leader>t", setmetatable({}, { __call = function() print"test" end }))