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