diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-12 17:09:41 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-08 13:37:23 +0100 |
| commit | c339bb3ae6646c3dbef8e73f41c1e797ed5ec99b (patch) | |
| tree | b27016384ad5cad67377a318f8f130fb40c3aab5 /vis-core.h | |
| parent | 5f5699fb3a93f2a478f3888236f7c25bc7975fbb (diff) | |
| download | vis-c339bb3ae6646c3dbef8e73f41c1e797ed5ec99b.tar.gz vis-c339bb3ae6646c3dbef8e73f41c1e797ed5ec99b.tar.xz | |
vis: experimental support for lua/lpeg based syntax highlighting
The lua based lexers are searched in the following order:
$VIS_PATH/lexers
$HOME/.vis/lexers
/usr/share/vis/lexers
followed by the standard lua package.path
Diffstat (limited to 'vis-core.h')
| -rw-r--r-- | vis-core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -156,6 +156,7 @@ struct Vis { volatile sig_atomic_t sigbus; /* one of the memory mapped region became unavailable (SIGBUS) */ sigjmp_buf sigbus_jmpbuf; /* used to jump back to a known good state in the mainloop after (SIGBUS) */ Map *actions; /* registered editor actions / special keys commands */ + lua_State *lua; /* lua context used for syntax highligthing */ }; /** stuff used by multiple of the vis-* files */ |
