aboutsummaryrefslogtreecommitdiff
path: root/vis-lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-lua.c')
-rw-r--r--vis-lua.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/vis-lua.c b/vis-lua.c
index f3b0114..29f3103 100644
--- a/vis-lua.c
+++ b/vis-lua.c
@@ -1733,13 +1733,14 @@ static const struct luaL_Reg file_lines_funcs[] = {
*/
/***
- * Events.
+ * Core Events.
*
* These events are invoked from the editor core.
- * The following functions are looked up in the `vis.events` table.
- * Keep in mind that the editor is blocked while the event handlers
- * are being executed, avoid long running tasks.
- * @section Events
+ * The following functions are invoked if they are registered in the
+ * `vis.events` table. Users scripts should generally use the [Events](#events)
+ * mechanism instead which multiplexes these core events.
+ *
+ * @section Core Events
*/
static void vis_lua_event_get(lua_State *L, const char *name) {