Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
patch 8.1.0115: the matchparen plugin may throw an error
Problem:    The matchparen plugin may throw an error.
Solution:   Change the skip argument from zero to "0".
  • Loading branch information
brammool committed Jun 24, 2018
1 parent 0119a59 commit b7a5ab1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/plugin/matchparen.vim
Expand Up @@ -114,7 +114,7 @@ function! s:Highlight_Matching_Pair()
" within those syntax types (i.e., not skip). Otherwise, the cursor is
" outside of the syntax types and s_skip should keep its value so we skip any
" matching pair inside the syntax types.
execute 'if' s_skip '| let s_skip = 0 | endif'
execute 'if' s_skip '| let s_skip = "0" | endif'

" Limit the search to lines visible in the window.
let stoplinebottom = line('w$')
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -789,6 +789,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
115,
/**/
114,
/**/
Expand Down

0 comments on commit b7a5ab1

Please sign in to comment.