diff options
Diffstat (limited to 'sam')
| -rwxr-xr-x | sam/test.sh | 2 | ||||
| -rw-r--r-- | sam/visrc.lua | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sam/test.sh b/sam/test.sh index 764f7c3..eb81635 100755 --- a/sam/test.sh +++ b/sam/test.sh @@ -73,7 +73,7 @@ for t in $TESTS; do TESTS_RUN=$((TESTS_RUN+1)) - $VIS "$IN" </dev/null 2>/dev/null + $VIS '+qall!' "$IN" </dev/null 2>/dev/null RETURN_CODE=$? printf "Running test %s with vis ... " "$t" diff --git a/sam/visrc.lua b/sam/visrc.lua index c5cda31..315526f 100644 --- a/sam/visrc.lua +++ b/sam/visrc.lua @@ -9,7 +9,6 @@ vis.events.win_open = function(win) local cmd = cmd_file:read('*all') vis:command(string.format(",{\n %s\n }", cmd)) local out_file_name = string.gsub(in_file, '%.in$', '.vis.out') - vis:command(string.format("wq! %s", out_file_name)) + vis:command(string.format("w! %s", out_file_name)) end - vis:command('qall!') end |
