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
539 B
Lua

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