aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-26 11:53:17 +0800
committerGitHub <noreply@github.com>2022-07-26 11:53:17 +0800
commit1a07044c1c828edda3e24828782665947fe68049 (patch)
tree947a6b695743b5979567c870c7a7cd0736542b51 /src/nvim/testdir
parent147cce29a6b5d475729a4d3d5acf23172ead1f3f (diff)
downloadrneovim-1a07044c1c828edda3e24828782665947fe68049.tar.gz
rneovim-1a07044c1c828edda3e24828782665947fe68049.tar.bz2
rneovim-1a07044c1c828edda3e24828782665947fe68049.zip
revert: "vim-patch:9.0.0061: ml_get error with nested autocommand" (#19509)
This reverts commit 6cee15da7235b6ba9c428ee43346415fe6a64e6c. Port this again when https://github.com/vim/vim/issues/10780 is fixed.
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_autocmd.vim19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim
index ed439ff6ec..438851a0ad 100644
--- a/src/nvim/testdir/test_autocmd.vim
+++ b/src/nvim/testdir/test_autocmd.vim
@@ -2170,25 +2170,6 @@ func Test_autocmd_nested()
call assert_fails('au WinNew * nested nested echo bad', 'E983:')
endfunc
-func Test_autocmd_nested_cursor_invalid()
- set laststatus=0
- copen
- cclose
- call setline(1, ['foo', 'bar', 'baz'])
- 3
- augroup nested_inv
- autocmd User foo ++nested copen
- autocmd BufAdd * let &laststatus = 2 - &laststatus
- augroup END
- doautocmd User foo
-
- augroup nested_inv
- au!
- augroup END
- set laststatus&
- bwipe!
-endfunc
-
func Test_autocmd_once()
" Without ++once WinNew triggers twice
let g:did_split = 0