diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-01-12 21:53:00 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-01-12 21:53:00 +0100 |
| commit | 9e776fae96d12c41f59edd2862a73e98dfcf51ac (patch) | |
| tree | dcf105f18307db749dd90fd64a7b048b9d2d6476 /vis | |
| parent | e6d4c35a80b2aed4a0b60ba9d32599545e0a36fd (diff) | |
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.
Diffstat (limited to 'vis')
| -rw-r--r-- | vis/visrc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
