You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nvim-libmodal/lua/libmodal/init.lua

37 lines
551 B
Lua

--[[
/*
* MODULE
*/
--]]
local libmodal = require('libmodal/src')
--[[
/*
* MIRRORS
*/
--]]
libmodal.layer = {['enter'] = function(keymap)
local layer = libmodal.Layer.new(keymap)
layer:enter()
return function() layer:exit() end
end}
libmodal.mode = {['enter'] = function(name, instruction, ...)
libmodal.Mode.new(name, instruction, ...):enter()
end}
libmodal.prompt = {['enter'] = function(name, instruction, ...)
libmodal.Prompt.new(name, instruction, ...):enter()
end}
--[[
/*
* PUBLICIZE MODULE
*/
--]]
return libmodal