]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0969: matchparen highlight is not updated when switching buffers v9.0.0969
authorBram Moolenaar <Bram@vim.org>
Mon, 28 Nov 2022 22:21:12 +0000 (22:21 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 28 Nov 2022 22:21:12 +0000 (22:21 +0000)
commit28a896f54d4b2f2b4bef8ef4144dde1673c9d6e7
tree18e049c8ca2444545334b55a80032d259bed3e0a
parentc13e998d4a82e2c90efb4bbc1dd4ea2d6c424592
patch 9.0.0969: matchparen highlight is not updated when switching buffers

Problem:    Matchparen highlight is not updated when switching buffers.
Solution:   Listen to the BufLeave and the BufWinEnter autocmd events.
            (closes #11626)
runtime/plugin/matchparen.vim
src/testdir/dumps/Test_matchparen_clear_highlight_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_matchparen_clear_highlight_2.dump [new file with mode: 0644]
src/testdir/test_display.vim
src/version.c