Permalink
Browse files

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 b7a5ab112ab2267c54acdb6a326642afcd797bc4
Showing with 3 additions and 1 deletion.
  1. +1 −1 runtime/plugin/matchparen.vim
  2. +2 −0 src/version.c
@@ -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$')
@@ -789,6 +789,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
115,
/**/
114,
/**/

0 comments on commit b7a5ab1

Please sign in to comment.