aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vis-core.h b/vis-core.h
index 6d3b35f..6d463df 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -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 */
};