From 9b9445f62b3500252b178454ab3b7edabfa9ee71 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 29 Jan 2008 15:43:43 +0000 Subject: [PATCH] Fix regression in quote handling --- plugin/surround.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/surround.vim b/plugin/surround.vim index bad7723..b10df4e 100644 --- a/plugin/surround.vim +++ b/plugin/surround.vim @@ -450,7 +450,7 @@ function! s:dosurround(...) " {{{1 " Do nothing call setreg('"','') elseif char =~ "[\"'`]" - exe "norm! i \d2i".char + exe "norm! a \d2i".char call setreg('"',substitute(getreg('"'),' ','','')) elseif char == '/' norm! "_x