aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-11 11:18:05 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-11 14:17:03 -0500
commit3013d0edfce3a53ef902decfa1f70c596c828471 (patch)
tree438ec5024488ebd8e668a1fbe1b01e04c1bf4434 /src/nvim/testdir
parent0a95549d66df63c06d775fcc329f7b63cbb46b2f (diff)
downloadrneovim-3013d0edfce3a53ef902decfa1f70c596c828471.tar.gz
rneovim-3013d0edfce3a53ef902decfa1f70c596c828471.tar.bz2
rneovim-3013d0edfce3a53ef902decfa1f70c596c828471.zip
vim-patch:8.2.1972: crash when recreating nested fold
Problem: Crash when recreating nested fold. Solution: Check for empty growarray. (closes vim/vim#7278) https://github.com/vim/vim/commit/5e1f22ff614821b8fc7294c9dd22765acd403aeb N/A patches for version.c: vim-patch:8.2.1974: Vim9: test for has('gui_running') fails with VIMDLL Problem: Vim9: test for has('gui_running') fails with VIMDLL. Solution: Adjust the #ifdef. (Ken Takata, closes vim/vim#7276) https://github.com/vim/vim/commit/29b281ba8ddf176ae34b22e6a9b8e0ddcbcce665
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_fold.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_fold.vim b/src/nvim/testdir/test_fold.vim
index e4baa34e4a..3c90c45952 100644
--- a/src/nvim/testdir/test_fold.vim
+++ b/src/nvim/testdir/test_fold.vim
@@ -805,4 +805,14 @@ func Test_move_no_folds()
bwipe!
endfunc
+" this was crashing
+func Test_fold_create_delete_create()
+ new
+ fold
+ fold
+ normal zd
+ fold
+ bwipe!
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab