From 44362650e7c50f8e766f903ba516ff3575a6a83e Mon Sep 17 00:00:00 2001 From: "Andy K. Massimino" Date: Thu, 16 Nov 2017 15:51:47 -0500 Subject: [PATCH] Remove z flag from searchpairpos because it's useless --- autoload/matchup/delim.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/matchup/delim.vim b/autoload/matchup/delim.vim index 25d549f..abd1763 100644 --- a/autoload/matchup/delim.vim +++ b/autoload/matchup/delim.vim @@ -569,8 +569,8 @@ function! s:get_matching_delims(down) dict " {{{1 " first, we figure out what the furthest match is, which will be " either the open or close depending on the direction let [l:re, l:flags, l:stopline] = a:down - \ ? [self.regextwo.close, 'zW', line('.') + s:stopline] - \ : [self.regextwo.open, 'zbW', max([line('.') - s:stopline, 1])] + \ ? [self.regextwo.close, 'W', line('.') + s:stopline] + \ : [self.regextwo.open, 'bW', max([line('.') - s:stopline, 1])] " these are the anchors for searchpairpos let l:open = self.regexone.open " TODO is this right? BADLOGIC