From 36fc535cb1353786d7edacfea1cd3ececaf6cf5d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 4 Mar 2006 21:49:37 +0000 Subject: updated for version 7.0214 --- runtime/plugin/matchparen.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'runtime/plugin/matchparen.vim') diff --git a/runtime/plugin/matchparen.vim b/runtime/plugin/matchparen.vim index 0af2f95f1..c27cf5122 100644 --- a/runtime/plugin/matchparen.vim +++ b/runtime/plugin/matchparen.vim @@ -1,6 +1,6 @@ " Vim plugin for showing matching parens " Maintainer: Bram Moolenaar -" Last Change: 2006 Mar 03 +" Last Change: 2006 Mar 04 " Exit quickly when: " - this plugin was already loaded (or disabled) @@ -32,6 +32,11 @@ function! s:Highlight_Matching_Pair() let s:paren_hl_on = 0 endif + " Avoid that we remove the popup menu. + if pumvisible() + return + endif + " Get the character under the cursor and check if it's in 'matchpairs'. let c_lnum = line('.') let c_col = col('.') -- cgit v1.2.1