0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1655: syntax test fails when Vim window is not tall enough

Problem:    Syntax test fails when Vim window is not tall enough.
Solution:   Make sure each terminal window is closed.
This commit is contained in:
Bram Moolenaar
2023-06-23 22:59:26 +01:00
parent 813b7a85f2
commit 2f43ec9363
2 changed files with 12 additions and 0 deletions

View File

@@ -117,6 +117,16 @@ for fname in glob('input/*.*', 1, 1)
syntax on syntax on
END END
call writefile(lines, 'Xtestscript') call writefile(lines, 'Xtestscript')
" close all but the last window
while winnr('$') > 1
close
endwhile
" Redraw to make sure that messages are cleared and there is enough space
" for the terminal window.
redraw
let buf = RunVimInTerminal('-S Xtestscript ' .. fname, {}) let buf = RunVimInTerminal('-S Xtestscript ' .. fname, {})
" Screendump at the start of the file: failed/filetype_00.dump " Screendump at the start of the file: failed/filetype_00.dump

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1655,
/**/ /**/
1654, 1654,
/**/ /**/