From 65e8ed45de98bf93491c6740772f0a42834696ab Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 29 Nov 2022 10:17:57 +0800 Subject: vim-patch:9.0.0969: matchparen highlight is not updated when switching buffers (#21227) Problem: Matchparen highlight is not updated when switching buffers. Solution: Listen to the BufLeave and the BufWinEnter autocmd events. (closes vim/vim#11626) https://github.com/vim/vim/commit/28a896f54d4b2f2b4bef8ef4144dde1673c9d6e7 Co-authored-by: Bram Moolenaar --- test/functional/legacy/source_spec.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'test/functional/legacy/source_spec.lua') diff --git a/test/functional/legacy/source_spec.lua b/test/functional/legacy/source_spec.lua index 02e6385247..f31521607d 100644 --- a/test/functional/legacy/source_spec.lua +++ b/test/functional/legacy/source_spec.lua @@ -7,6 +7,7 @@ local write_file = helpers.write_file before_each(clear) describe(':source!', function() + -- oldtest: Test_nested_script() it('gives E22 when scripts nested too deep', function() write_file('Xscript.vim', [[ :source! Xscript.vim -- cgit