From 436e2c1ff8ab8ac4f8bc4078312838c4fc5d226e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 23 Apr 2016 11:44:11 +0200 Subject: vis: display lua search paths in :help output --- vis-lua.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vis-lua.h') diff --git a/vis-lua.h b/vis-lua.h index b05f6fb..2b06e0a 100644 --- a/vis-lua.h +++ b/vis-lua.h @@ -11,6 +11,12 @@ typedef struct lua_State lua_State; #include "vis.h" +/* add a directory to consider when loading lua files */ +bool vis_lua_path_add(Vis*, const char *path); +/* get semi colon separated list of paths to load lua files */ +const char *vis_lua_paths_get(Vis*); + +/* various event handlers, triggered by the vis core */ void vis_lua_init(Vis*); void vis_lua_start(Vis*); void vis_lua_quit(Vis*); -- cgit v1.2.3