mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +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:
@@ -1029,7 +1029,8 @@ describe('completion', function()
|
||||
]])
|
||||
end)
|
||||
|
||||
it('TextChangedP autocommand', function()
|
||||
-- oldtest: Test_ChangedP()
|
||||
it('TextChangedI and TextChangedP autocommands', function()
|
||||
curbufmeths.set_lines(0, 1, false, { 'foo', 'bar', 'foobar'})
|
||||
source([[
|
||||
set complete=. completeopt=menuone
|
||||
|
||||
Reference in New Issue
Block a user