diff options
Diffstat (limited to 'examples/basic_mode.lua')
-rw-r--r-- | examples/basic_mode.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/basic_mode.lua b/examples/basic_mode.lua new file mode 100644 index 0000000..04c16df --- /dev/null +++ b/examples/basic_mode.lua @@ -0,0 +1,6 @@ +return { + ["%w+%s*\n"] = function(match) + command_queue:enqueue(string.match(match , "(%w+)%s*")) + end, + [".*\n"] = function(match) end +} |