updated for version 7.0-012
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
" Vim plugin for showing matching parens
|
" Vim plugin for showing matching parens
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2006 Apr 27
|
" Last Change: 2006 May 11
|
||||||
|
|
||||||
" Exit quickly when:
|
" Exit quickly when:
|
||||||
" - this plugin was already loaded (or disabled)
|
" - this plugin was already loaded (or disabled)
|
||||||
@ -90,7 +90,7 @@ function! s:Highlight_Matching_Pair()
|
|||||||
" Find the match. When it was just before the cursor move it there for a
|
" Find the match. When it was just before the cursor move it there for a
|
||||||
" moment.
|
" moment.
|
||||||
if before > 0
|
if before > 0
|
||||||
let save_cursor = getpos('.')
|
let save_cursor = winsaveview()
|
||||||
call cursor(c_lnum, c_col - before)
|
call cursor(c_lnum, c_col - before)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ function! s:Highlight_Matching_Pair()
|
|||||||
let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline)
|
let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline)
|
||||||
|
|
||||||
if before > 0
|
if before > 0
|
||||||
call setpos('.', save_cursor)
|
call winrestview(save_cursor)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" If a match is found setup match highlighting.
|
" If a match is found setup match highlighting.
|
||||||
|
|||||||
@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
12,
|
||||||
/**/
|
/**/
|
||||||
11,
|
11,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user