]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0167: Changing buffer in another window causes it to show matchparen v9.1.0167
authorzeertzjq <zeertzjq@outlook.com>
Mon, 11 Mar 2024 20:38:58 +0000 (21:38 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 11 Mar 2024 20:38:58 +0000 (21:38 +0100)
commit49ffb6b428e1e053446ec0209558a8f9d0963ae7
treefaf85f9b41f141b60d20ac9c3777336d3c3b67b9
parent5406eb8722bddb6a04876956f9a53c1752994851
patch 9.1.0167: Changing buffer in another window causes it to show matchparen

Problem:  Changing buffer in another window using win_execute() causes
          it to show matchparen (after 9.0.0969).
Solution: Delay highlighting with SafeState in BufWinEnter.
          (zeertzjq)

closes: #14177

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/plugin/matchparen.vim
src/testdir/dumps/Test_matchparen_win_execute_1.dump [new file with mode: 0644]
src/testdir/test_matchparen.vim
src/version.c