mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
05f9c7c2f7
commit
24ce4c6233
@ -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$')
|
||||
|
Loading…
Reference in New Issue
Block a user