diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-05-21 00:19:35 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-05-22 00:05:30 +0200 |
| commit | ffcdfc2012a9cbc9a104a75e8e87bcf5fa5de2e1 (patch) | |
| tree | 0089d3f4e51f3523bcacda33e1fefbcdad996953 /vis-core.h | |
| parent | 1d2005c82f19f2094ffb57394832754160b9bbc6 (diff) | |
| download | vis-ffcdfc2012a9cbc9a104a75e8e87bcf5fa5de2e1.tar.gz vis-ffcdfc2012a9cbc9a104a75e8e87bcf5fa5de2e1.tar.xz | |
vis: move syntax highlighting to pure Lua code
Diffstat (limited to 'vis-core.h')
| -rw-r--r-- | vis-core.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,7 @@ #include <setjmp.h> #include "vis.h" +#include "vis-lua.h" #include "register.h" #include "text.h" #include "text-regex.h" @@ -132,6 +133,8 @@ struct Win { Mode modes[VIS_MODE_INVALID]; /* overlay mods used for per window key bindings */ Win *parent; /* window which was active when showing the command prompt */ Mode *parent_mode; /* mode which was active when showing the command prompt */ + ViewEvent event; /* callbacks from view.[ch] */ + char *lexer_name; /* corresponds to filename in lexers/ subdirectory */ Win *prev, *next; /* neighbouring windows */ }; |
