aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-11-13 21:13:13 -0500
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-11-13 21:13:19 -0500
commit24ce4c62332e29b0c252e4ec64764cfb3d54bc65 (patch)
tree9cb353f8708b181b209ac1b7f100f619b09fb50c
parent05f9c7c2f7f52a5b4b1a72a49dab99dc21195c7d (diff)
downloadrneovim-24ce4c62332e29b0c252e4ec64764cfb3d54bc65.tar.gz
rneovim-24ce4c62332e29b0c252e4ec64764cfb3d54bc65.tar.bz2
rneovim-24ce4c62332e29b0c252e4ec64764cfb3d54bc65.zip
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". https://github.com/vim/vim/commit/b7a5ab112ab2267c54acdb6a326642afcd797bc4
-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 23d4beea87..d53fb22df0 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$')