From 1fbfd6ba09b9fdf56596ad44c7114f97df4119e8 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 28 Aug 2020 23:42:07 -0400 Subject: vim-patch:8.1.1776: text added with a job isn't displayed Problem: Text added with a job to another buffer isn't displayed. Solution: Update topline after adding a line. (closes vim/vim#4745) https://github.com/vim/vim/commit/4641a122f2ffb820ec6d05526532ab38930c5286 --- src/nvim/testdir/check.vim | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/nvim/testdir/check.vim b/src/nvim/testdir/check.vim index 62adc6bca9..329dc66ea9 100644 --- a/src/nvim/testdir/check.vim +++ b/src/nvim/testdir/check.vim @@ -25,6 +25,22 @@ func CheckFunction(name) endif endfunc +" Command to check for running on MS-Windows +command CheckMSWindows call CheckMSWindows() +func CheckMSWindows() + if !has('win32') + throw 'Skipped: only works on MS-Windows' + endif +endfunc + +" Command to check for running on Unix +command CheckUnix call CheckUnix() +func CheckUnix() + if !has('unix') + throw 'Skipped: only works on Unix' + endif +endfunc + " Command to check that making screendumps is supported. " Caller must source screendump.vim command CheckScreendump call CheckScreendump() -- cgit