aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-06-15 20:24:38 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-06-15 21:48:27 -0400
commit1abfeff97840992b3fc85d72e917ecde1acbb781 (patch)
treef2f5f7b3fe3690b9bee3d2166fa1bfa63c946707
parent5a96161e8664339c11a904b6f851f44d9c5b49d3 (diff)
downloadrneovim-1abfeff97840992b3fc85d72e917ecde1acbb781.tar.gz
rneovim-1abfeff97840992b3fc85d72e917ecde1acbb781.tar.bz2
rneovim-1abfeff97840992b3fc85d72e917ecde1acbb781.zip
vim-patch:8.1.1545: when the screen is to small there is no message about that
Problem: When the screen is to small there is no message about that. (Daniel Hahler) Solution: Do not use :cquit. (closes vim/vim#4534) https://github.com/vim/vim/commit/45aa07d3c126e887c614f8a4ebdb88aed673a9f1
-rw-r--r--src/nvim/testdir/runtest.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/nvim/testdir/runtest.vim b/src/nvim/testdir/runtest.vim
index 65329b58f8..e0d73c5a1e 100644
--- a/src/nvim/testdir/runtest.vim
+++ b/src/nvim/testdir/runtest.vim
@@ -35,8 +35,11 @@ if &lines < 24 || &columns < 80
echoerr error
split test.log
$put =error
- w
- cquit
+ write
+ split messages
+ call append(line('$'), error)
+ write
+ qa!
endif
" Common with all tests on all systems.