blob: cdb8e1cb3fb6ba4e34be651a247cd25706c33307 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
dofile("utils.lua")
vis.events = {}
vis.events.win_open = function(win)
-- test.in file passed to vis
in_file = win.file.name
-- use the corresponding test.lua file
lua_file = string.gsub(in_file, '%.in$', '.lua')
dofile(lua_file)
vis:command('q!')
end
|