diff options
author | Christian Brabandt <cb@256bit.org> | 2023-11-12 16:55:01 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-11-12 16:55:01 +0100 |
commit | 9588666360e94de3ff58d4bc79aa9148fbf5fc44 (patch) | |
tree | 14e3385567aea2f4572ac79bda8ea670ab78b31b /src/testdir/dumps | |
parent | 2dd613f57bf17eb8ff050bcb5510eb0279f5c9ab (diff) |
patch 9.0.2102: matchparen highlight not cleared in completion modev9.0.2102
Problem: matchparen highlight not cleared in completion mode
Solution: Clear matchparen highlighting in completion mode
Remove hard-coded hack in insexpand.c to clear the :3match before
displaying the completion menu.
Add a test for matchparen highlighting. While at it, move all test tests
related to the matchparen plugin into a separate test file.
closes: #13493
closes: #13524
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/dumps')
-rw-r--r-- | src/testdir/dumps/Test_matchparen_pum_clear_1.dump | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/dumps/Test_matchparen_pum_clear_1.dump b/src/testdir/dumps/Test_matchparen_pum_clear_1.dump new file mode 100644 index 0000000000..1690fd6236 --- /dev/null +++ b/src/testdir/dumps/Test_matchparen_pum_clear_1.dump @@ -0,0 +1,10 @@ +|a+0&#ffffff0@1| @72 +|a@2| @71 +|a@3| @70 +|(|a@2>)| @69 +| +0#0000001#ffd7ff255|a@1| @12| +0#4040ff13#ffffff0@58 +| +0#0000001#e0e0e08|a@2| @11| +0#4040ff13#ffffff0@58 +| +0#0000001#ffd7ff255|a@3| @10| +0#4040ff13#ffffff0@58 +|~| @73 +|~| @73 +|-+2#0000000&@1| |K|e|y|w|o|r|d| |c|o|m|p|l|e|t|i|o|n| |(|^|N|^|P|)| |m+0#00e0003&|a|t|c|h| |2| |o|f| |3| +0#0000000&@33 |