From b8b374702e7f24401baa883a969eb7f4165ac696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 22 Feb 2017 18:33:57 +0100 Subject: lua: expose vis:module_exist method, load lexer and lpeg module during startup --- vis-lua.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'vis-lua.c') 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. -- cgit v1.2.3