aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-08-28 23:42:07 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-08-30 21:12:26 -0400
commit1fbfd6ba09b9fdf56596ad44c7114f97df4119e8 (patch)
tree4a50fa2052fa9dc249785495de39fd3fda6d38c6
parenta45dc02a1421a002923a1e85214ab9d08ead9536 (diff)
downloadrneovim-1fbfd6ba09b9fdf56596ad44c7114f97df4119e8.tar.gz
rneovim-1fbfd6ba09b9fdf56596ad44c7114f97df4119e8.tar.bz2
rneovim-1fbfd6ba09b9fdf56596ad44c7114f97df4119e8.zip
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
-rw-r--r--src/nvim/testdir/check.vim16
1 files changed, 16 insertions, 0 deletions
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()