diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-21 22:30:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-21 22:30:15 -0500 |
commit | 7b65a9135e04aade4dd66b5f9dc33c74e5ac962a (patch) | |
tree | 348d52efa9071fe2c217a5ec9c778afbdbe4555a /src/nvim/testdir | |
parent | aa3b17d04a81b0430dc842b904d6bb1f046ad749 (diff) | |
parent | 07425d45e6c4bc0525504e24aee0ad0864d71379 (diff) | |
download | rneovim-7b65a9135e04aade4dd66b5f9dc33c74e5ac962a.tar.gz rneovim-7b65a9135e04aade4dd66b5f9dc33c74e5ac962a.tar.bz2 rneovim-7b65a9135e04aade4dd66b5f9dc33c74e5ac962a.zip |
Merge pull request #13581 from janlazo/vim-8.2.2174
vim-patch:8.2.{2174,2175,2176,2177,2181}
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_fold.vim | 7 | ||||
-rw-r--r-- | src/nvim/testdir/test_regexp_utf8.vim | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_fold.vim b/src/nvim/testdir/test_fold.vim index 3c90c45952..88ce64b9eb 100644 --- a/src/nvim/testdir/test_fold.vim +++ b/src/nvim/testdir/test_fold.vim @@ -815,4 +815,11 @@ func Test_fold_create_delete_create() bwipe! endfunc +" this was crashing +func Test_fold_create_delete() + new + norm zFzFzdzj + bwipe! +endfunc + " vim: shiftwidth=2 sts=2 expandtab diff --git a/src/nvim/testdir/test_regexp_utf8.vim b/src/nvim/testdir/test_regexp_utf8.vim index 4466ad436a..513780938e 100644 --- a/src/nvim/testdir/test_regexp_utf8.vim +++ b/src/nvim/testdir/test_regexp_utf8.vim @@ -533,4 +533,15 @@ func Test_search_with_end_offset() close! endfunc +" Check that "^" matches even when the line starts with a combining char +func Test_match_start_of_line_combining() + new + call setline(1, ['', "\u05ae", '']) + exe "normal gg/^\<CR>" + call assert_equal(2, getcurpos()[1]) + bwipe! +endfunc + + + " vim: shiftwidth=2 sts=2 expandtab |