changeset 14196:fd31f5ad4152 v8.1.0115

patch 8.1.0115: the matchparen plugin may throw an error commit https://github.com/vim/vim/commit/b7a5ab112ab2267c54acdb6a326642afcd797bc4 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 25 00:05:59 2018 +0200 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".
author Christian Brabandt <cb@256bit.org>
date Mon, 25 Jun 2018 00:15:06 +0200
parents 1699656ffd81
children 02f2efe56793
files runtime/plugin/matchparen.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/plugin/matchparen.vim
+++ b/runtime/plugin/matchparen.vim
@@ -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$')
--- a/src/version.c
+++ b/src/version.c
@@ -790,6 +790,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    115,
+/**/
     114,
 /**/
     113,