diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-22 12:32:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-22 12:32:46 -0700 |
| commit | fb26c38434f82af2a601a91c99adb40ecefa0d89 (patch) | |
| tree | c641bdaf14179c71be50af8f4c6442c3ca5a4deb /src/nvim/testdir | |
| parent | 6807779c68220e738b99486118c97c0ebc108b0e (diff) | |
| parent | 6c3d34e4dfc7fd3f810dd78f9dec016540c13bda (diff) | |
| download | rneovim-fb26c38434f82af2a601a91c99adb40ecefa0d89.tar.gz rneovim-fb26c38434f82af2a601a91c99adb40ecefa0d89.tar.bz2 rneovim-fb26c38434f82af2a601a91c99adb40ecefa0d89.zip | |
Merge #11076 from blueyed/fix-fold-patches
Fix fold patches: vim-patch:8.1.2052, vim-patch:8.1.2059
fix #11002
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_fold.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_fold.vim b/src/nvim/testdir/test_fold.vim index 3cb42579be..03723b3cb5 100644 --- a/src/nvim/testdir/test_fold.vim +++ b/src/nvim/testdir/test_fold.vim @@ -756,3 +756,15 @@ func Test_fold_delete_with_marker() bwipe! bwipe! endfunc + +func Test_fold_delete_with_marker_and_whichwrap() + new + let content1 = [''] + let content2 = ['folded line 1 "{{{1', ' test', ' test2', ' test3', '', 'folded line 2 "{{{1', ' test', ' test2', ' test3'] + call setline(1, content1 + content2) + set fdm=marker ww+=l + normal! x + call assert_equal(content2, getline(1, '$')) + set fdm& ww& + bwipe! +endfunc |