diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-28 22:21:12 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-28 22:21:12 +0000 |
commit | 28a896f54d4b2f2b4bef8ef4144dde1673c9d6e7 (patch) | |
tree | 18e049c8ca2444545334b55a80032d259bed3e0a /src/testdir/dumps | |
parent | c13e998d4a82e2c90efb4bbc1dd4ea2d6c424592 (diff) |
patch 9.0.0969: matchparen highlight is not updated when switching buffersv9.0.0969
Problem: Matchparen highlight is not updated when switching buffers.
Solution: Listen to the BufLeave and the BufWinEnter autocmd events.
(closes #11626)
Diffstat (limited to 'src/testdir/dumps')
-rw-r--r-- | src/testdir/dumps/Test_matchparen_clear_highlight_1.dump | 5 | ||||
-rw-r--r-- | src/testdir/dumps/Test_matchparen_clear_highlight_2.dump | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/dumps/Test_matchparen_clear_highlight_1.dump b/src/testdir/dumps/Test_matchparen_clear_highlight_1.dump new file mode 100644 index 0000000000..1a962750d7 --- /dev/null +++ b/src/testdir/dumps/Test_matchparen_clear_highlight_1.dump @@ -0,0 +1,5 @@ +>(+0(ffff15|)| +0&#ffffff0@72 +|~+0#4040ff13&| @73 +|~| @73 +|~| @73 +| +0#0000000&@56|1|,|1| @10|A|l@1| diff --git a/src/testdir/dumps/Test_matchparen_clear_highlight_2.dump b/src/testdir/dumps/Test_matchparen_clear_highlight_2.dump new file mode 100644 index 0000000000..c3f93fab20 --- /dev/null +++ b/src/testdir/dumps/Test_matchparen_clear_highlight_2.dump @@ -0,0 +1,5 @@ +>a+0&#ffffff0@1| @72 +|~+0#4040ff13&| @73 +|~| @73 +|~| @73 +| +0#0000000&@56|1|,|1| @10|A|l@1| |