diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-01-17 17:02:25 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-17 17:02:25 +0800 |
| commit | ddd69a6c81c1a2595e81377503dd2b47f2c41b83 (patch) | |
| tree | c5e1398766d5337ac26ae48246fa02a597382f00 /src/nvim/testdir | |
| parent | b4d669e7acd819cd5723b387a5a79023994d438d (diff) | |
| download | rneovim-ddd69a6c81c1a2595e81377503dd2b47f2c41b83.tar.gz rneovim-ddd69a6c81c1a2595e81377503dd2b47f2c41b83.tar.bz2 rneovim-ddd69a6c81c1a2595e81377503dd2b47f2c41b83.zip | |
vim-patch:8.2.4959: using NULL regexp program (#21855)
Problem: Using NULL regexp program.
Solution: Check for regexp program becoming NULL in more places.
https://github.com/vim/vim/commit/b62dc5e7825bc195efe3041d5b3a9f1528359e1c
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_buffer.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_buffer.vim b/src/nvim/testdir/test_buffer.vim index 549aa691c8..9220cc17b9 100644 --- a/src/nvim/testdir/test_buffer.vim +++ b/src/nvim/testdir/test_buffer.vim @@ -423,6 +423,12 @@ func Test_buf_pattern_invalid() vsplit 00000000000000000000000000 silent! buf [0--]\&\zs*\zs*e bwipe! + + " similar case with different code path + split 0 + edit ΓΏ + silent! buf [0--]\&\zs*\zs*0 + bwipe! endfunc " Test for the 'maxmem' and 'maxmemtot' options |