blob: 2c8ff784811b3fed206095918622a44eec9eb60a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
require("utils")
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$', '')
require(lua_file)
vis:command('q!')
end
|