vim-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".
b7a5ab112a
This commit is contained in:
Jan Edmund Lazo 2018-11-13 21:13:13 -05:00
parent 05f9c7c2f7
commit 24ce4c6233

View File

@ -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$')