diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-24 18:11:27 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-24 18:11:27 +0000 |
commit | 6f98371532fcff911b462d51bc64f2ce8a6ae682 (patch) | |
tree | 983523d888e38f02ce5f5505138780106f4ec016 /src/testdir/test_arglist.vim | |
parent | 5937c7505f444dd896f336fa0119a93a55ebe9a2 (diff) |
patch 8.2.3884: crash when clearing the argument list while using itv8.2.3884
Problem: Crash when clearing the argument list while using it.
Solution: Lock the argument list for ":all".
Diffstat (limited to 'src/testdir/test_arglist.vim')
-rw-r--r-- | src/testdir/test_arglist.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim index b1f292975a..d29a228e6c 100644 --- a/src/testdir/test_arglist.vim +++ b/src/testdir/test_arglist.vim @@ -583,4 +583,11 @@ func Test_all_not_allowed_from_cmdwin() au! BufEnter endfunc +func Test_clear_arglist_in_all() + n 0 00 000 0000 00000 000000 + au! * 0 n 0 + all + au! * +endfunc + " vim: shiftwidth=2 sts=2 expandtab |