style(examples): inline keymaps-submode instruction

pull/20/head
Iron-E 1 year ago
parent 34b94a246d
commit 83dc6c5433
No known key found for this signature in database
GPG Key ID: 83A6AEB40395D40D

@ -1,12 +1,10 @@
local libmodal = require('libmodal')
local libmodal = require 'libmodal'
-- recurse counter
local foo_mode_recurse = 0
-- register 'z' as the map for recursing further (by calling the FooMode function again)
local foo_mode_keymaps =
{
z = 'lua FooMode()'
}
local foo_mode_keymaps = {z = 'lua FooMode()'}
-- define the FooMode() function which is called whenever the user presses 'z'
function FooMode()

Loading…
Cancel
Save