Fix vs with selection=exclusive

This commit is contained in:
Tim Pope 2011-01-11 23:14:25 -05:00
parent e6f8ab5b82
commit 193649616c

View File

@ -511,6 +511,7 @@ function! s:opfunc(type,...) " {{{1
silent exe 'norm! `[V`]"'.reg.'y'
let type = 'V'
elseif a:type ==# "v" || a:type ==# "V" || a:type ==# "\<C-V>"
let &selection = sel_save
let ve = &virtualedit
if !(a:0 && a:1)
set virtualedit=