blob: dcd4d8ea0091a4724ca4bc4f64e2df3ba1fbb943 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require("utils")
vis.events = {}
vis.events.win_open = function(win)
in_file = win.file.name
lua_file = string.gsub(in_file, '%.in$', '')
require(lua_file)
-- These both seem to cause crashes at the moment.
-- vis:command('q!')
--
-- vis:map(vis.MODE_NORMAL, "Q", function()
-- vis:command('q!')
-- end)
end
|