aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'view.h')
-rw-r--r--view.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/view.h b/view.h
index a9f7ec9..facccb1 100644
--- a/view.h
+++ b/view.h
@@ -3,6 +3,7 @@
#include <stddef.h>
#include <stdbool.h>
+#include <lua.h>
#include "register.h"
#include "text.h"
#include "ui.h"
@@ -45,7 +46,7 @@ typedef struct {
size_t col;
} CursorPos;
-View *view_new(Text*, ViewEvent*);
+View *view_new(Text*, lua_State*, ViewEvent*);
void view_ui(View*, UiWin*);
/* change associated text displayed in this window */
void view_reload(View*, Text*);