updated for version 7.0214

This commit is contained in:
Bram Moolenaar
2006-03-04 21:49:37 +00:00
parent d0131a8bd2
commit 36fc535cb1
6 changed files with 27 additions and 13 deletions

View File

@ -1,6 +1,6 @@
" Vim plugin for showing matching parens
" Maintainer: Bram Moolenaar <Bram@vim.org>
" 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('.')