Fix regression in quote handling

This commit is contained in:
Tim Pope 2008-01-29 15:43:43 +00:00
parent 9813515fb2
commit 9b9445f62b

View File

@ -450,7 +450,7 @@ function! s:dosurround(...) " {{{1
" Do nothing
call setreg('"','')
elseif char =~ "[\"'`]"
exe "norm! i \<Esc>d2i".char
exe "norm! a \<Esc>d2i".char
call setreg('"',substitute(getreg('"'),' ','',''))
elseif char == '/'
norm! "_x