Fix :Eval on opening parenthesis

Closes #17.
This commit is contained in:
Tim Pope 2012-12-14 13:59:54 -05:00
parent 0f61810784
commit cef0d22aa0

View File

@ -457,7 +457,7 @@ function! s:Eval(bang, line1, line2, count, args) abort
if a:count ==# 0
normal! ^
let line1 = searchpair('(','',')', 'bcrn', g:foreplay#skip)
let line2 = searchpair('(','',')', 'crn', g:foreplay#skip)
let line2 = searchpair('(','',')', 'rn', g:foreplay#skip)
else
let line1 = a:line1
let line2 = a:line2