mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Respect percent in foldopen
This commit is contained in:
@@ -125,6 +125,9 @@ function! matchup#motion#find_matching_pair(visual, down) " {{{1
|
||||
endif
|
||||
|
||||
call matchup#pos#set_cursor(l:lnum, l:column)
|
||||
if stridx(&foldopen, 'percent') >= 0
|
||||
normal! zv
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" }}}1
|
||||
|
||||
Reference in New Issue
Block a user