Am 2017-09-21 22:16, schrieb Bram Moolenaar:
Patch 8.0.1131
Problem: It is not easy to trigger an autocommand for new terminal window.
            (Marco Restelli)
Solution:   Trigger BufWinEnter after setting 'buftype'.
Files:      src/terminal.c, src/testdir/test_terminal.c

I think you need to initialize b:done in the test.

The win32-installer build failed because of this error:
https://ci.appveyor.com/project/chrisbra/vim-win32-installer/build/492/job/qrx83ay1d3i3foha#L1662
From test_terminal.vim:
Found errors in Test_terminal_basic():
Caught exception in Test_terminal_basic(): Vim(call):E121: Undefined variable: b:done @ function RunTheTest[24]..Test_terminal_basic, line 12
TEST FAILURE
NMAKE : fatal error U1077: 'if' : return code '0x1'
Stop.
Command exited with code 1

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui