Mercurial > vim
diff src/testdir/test_window_cmd.vim @ 23758:97296182d336 v8.2.2420
patch 8.2.2420: too many problems with using all autocommand events
Commit: https://github.com/vim/vim/commit/9a046fd08bcae319d39a4dbde2be81decee19013
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 28 13:47:59 2021 +0100
patch 8.2.2420: too many problems with using all autocommand events
Problem: Too many problems with using all autocommand events.
Solution: Disallow defining an autocommand for all events.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 28 Jan 2021 14:00:04 +0100 |
parents | 93f90f2ff4e9 |
children | 3c165c7432ff |
line wrap: on
line diff
--- a/src/testdir/test_window_cmd.vim +++ b/src/testdir/test_window_cmd.vim @@ -567,8 +567,8 @@ endfunc func Test_access_freed_mem() call assert_equal(&columns, winwidth(0)) - " This was accessing freed memory - au * 0 vs xxx + " This was accessing freed memory (but with what events?) + au BufEnter,BufLeave,WinEnter,WinLeave 0 vs xxx arg 0 argadd call assert_fails("all", "E242:")