From 193649616c560f15bc8bcd9b15fd96d1bdaeb2ee Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 11 Jan 2011 23:14:25 -0500 Subject: [PATCH] Fix vs with selection=exclusive --- plugin/surround.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/surround.vim b/plugin/surround.vim index ea28c02..321d843 100644 --- a/plugin/surround.vim +++ b/plugin/surround.vim @@ -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 ==# "\" + let &selection = sel_save let ve = &virtualedit if !(a:0 && a:1) set virtualedit=