From 6d1d45776b231304b0ff41b5e6098f07931ec44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 8 Dec 2016 09:06:01 +0100 Subject: lua: add simple event multiplexing mechanism The editor core calls into the functions registered in the `vis.events` table which then multiplex the events to all registered event handlers. The first handler which returns a non `nil` value terminates event propagation. --- lua/doc/config.ld | 1 + 1 file changed, 1 insertion(+) (limited to 'lua/doc') diff --git a/lua/doc/config.ld b/lua/doc/config.ld index a955b38..a979f83 100644 --- a/lua/doc/config.ld +++ b/lua/doc/config.ld @@ -7,6 +7,7 @@ dir="." sort=true merge=true no_space_before_args=true +not_luadoc=true file={ "../../vis-lua.c", "../vis.lua", -- cgit v1.2.3