mirror of
https://github.com/neovim/neovim.git
synced 2026-07-31 04:39:07 +00:00
vim-patch:8.2.3884: crash when clearing the argument list while using it
Problem: Crash when clearing the argument list while using it.
Solution: Lock the argument list for ":all".
6f98371532
This commit is contained in:
@@ -607,4 +607,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
|
||||
|
||||
Reference in New Issue
Block a user