diff options
| -rw-r--r-- | lua/visrc.lua | 2 | ||||
| -rw-r--r-- | vis/visrc.lua | 2 |
2 files changed, 2 insertions, 2 deletions
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 diff --git a/vis/visrc.lua b/vis/visrc.lua index ce5466d..e19efed 100644 --- a/vis/visrc.lua +++ b/vis/visrc.lua @@ -12,6 +12,6 @@ vis.events.win_open = function(win) file:close() vis:feedkeys(keys..'<Escape>') vis:command(string.format("w! '%s.out'", name)) + vis:command('qall!') end - vis:command('qall!') end |
