]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.2102: matchparen highlight not cleared in completion mode v9.0.2102
authorChristian Brabandt <cb@256bit.org>
Sun, 12 Nov 2023 15:55:01 +0000 (16:55 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 12 Nov 2023 15:55:01 +0000 (16:55 +0100)
commit9588666360e94de3ff58d4bc79aa9148fbf5fc44
tree14e3385567aea2f4572ac79bda8ea670ab78b31b
parent2dd613f57bf17eb8ff050bcb5510eb0279f5c9ab
patch 9.0.2102: matchparen highlight not cleared in completion mode

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>
runtime/plugin/matchparen.vim
src/insexpand.c
src/testdir/Make_all.mak
src/testdir/dumps/Test_matchparen_pum_clear_1.dump [new file with mode: 0644]
src/testdir/test_display.vim
src/testdir/test_matchparen.vim [new file with mode: 0644]
src/version.c