aboutsummaryrefslogtreecommitdiff
path: root/vis-lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-lua.c')
-rw-r--r--vis-lua.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vis-lua.c b/vis-lua.c
index ad017b1..ee474e1 100644
--- a/vis-lua.c
+++ b/vis-lua.c
@@ -1198,6 +1198,9 @@ void vis_lua_init(Vis *vis) {
luaL_newmetatable(L, "vis");
luaL_setfuncs(L, vis_lua, 0);
+ lua_pushstring(L, VERSION);
+ lua_setfield(L, -2, "VERSION");
+
static const struct {
enum VisMode id;
const char *name;