0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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".
This commit is contained in:
Bram Moolenaar
2018-06-25 00:05:59 +02:00
parent 0119a59ffd
commit b7a5ab112a
2 changed files with 3 additions and 1 deletions

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

View File

@@ -789,6 +789,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
115,
/**/
114,
/**/