From 9e776fae96d12c41f59edd2862a73e98dfcf51ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 12 Jan 2017 21:53:00 +0100 Subject: tests: make :help output actually visible The problem is that :qall in the win open event would immediately close the window before anyting gets executed. --- lua/visrc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/visrc.lua b/lua/visrc.lua index ed23e60..af40306 100644 --- a/lua/visrc.lua +++ b/lua/visrc.lua @@ -8,6 +8,6 @@ vis.events.win_open = function(win) -- use the corresponding test.lua file lua_file = string.gsub(in_file, '%.in$', '.lua') dofile(lua_file) + vis:command('qall!') end - vis:command('qall!') end -- cgit v1.2.3