Fix top-level expr location in :Eval

Closes #17.
This commit is contained in:
Tim Pope 2012-12-14 13:22:02 -05:00
parent 44dc41c011
commit 0f61810784

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('(','',')', 'n', g:foreplay#skip)
let line2 = searchpair('(','',')', 'crn', g:foreplay#skip)
else
let line1 = a:line1
let line2 = a:line2