aboutsummaryrefslogtreecommitdiff
path: root/vis-lua.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-02-22 18:33:57 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-02-22 18:59:05 +0100
commitb8b374702e7f24401baa883a969eb7f4165ac696 (patch)
tree8ddf5f3648ee708f4147b6a1e0dca594ec8a1ef6 /vis-lua.c
parent335814c9caef5a25430e9493cbc7d4f806c1f715 (diff)
downloadvis-b8b374702e7f24401baa883a969eb7f4165ac696.tar.gz
vis-b8b374702e7f24401baa883a969eb7f4165ac696.tar.xz
lua: expose vis:module_exist method, load lexer and lpeg module during startup
Diffstat (limited to 'vis-lua.c')
-rw-r--r--vis-lua.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/vis-lua.c b/vis-lua.c
index 2a1d05f..43957af 100644
--- a/vis-lua.c
+++ b/vis-lua.c
@@ -543,11 +543,13 @@ static const char *keymapping(Vis *vis, const char *keys, const Arg *arg) {
* @field registers array to access the register by single letter name
*/
/***
- * LPeg lexer support module.
- * @field lexers
+ * Scintillua lexer module.
+ * @field lexers might be `nil` if module is not found
+ */
+/***
+ * LPeg lexer module.
+ * @field lpeg might be `nil` if module is not found
*/
-
-// TODO vis.events
/***
* Create an iterator over all windows.