From ffcdfc2012a9cbc9a104a75e8e87bcf5fa5de2e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 21 May 2016 00:19:35 +0200 Subject: vis: move syntax highlighting to pure Lua code --- vis-core.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vis-core.h') 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 #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 */ }; -- cgit v1.2.3