mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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)
28a896f54d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user