summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-06-25 00:05:59 +0200
committerBram Moolenaar <Bram@vim.org>2018-06-25 00:05:59 +0200
commitb7a5ab112ab2267c54acdb6a326642afcd797bc4 (patch)
treed795fe9c0c9b307adb6c93e398d9789297228e26 /runtime
parent0119a59ffdfb21cf1c0a56e7ed6105e875150163 (diff)
downloadvim-git-b7a5ab112ab2267c54acdb6a326642afcd797bc4.tar.gz
patch 8.1.0115: the matchparen plugin may throw an errorv8.1.0115
Problem: The matchparen plugin may throw an error. Solution: Change the skip argument from zero to "0".
Diffstat (limited to 'runtime')
-rw-r--r--runtime/plugin/matchparen.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/plugin/matchparen.vim b/runtime/plugin/matchparen.vim
index 4f68fd87b..0fa5c4d22 100644
--- 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$')