mirror of
https://github.com/tpope/vim-surround.git
synced 2025-11-10 12:23:50 -05:00
Fix regression in quote handling
This commit is contained in:
@@ -450,7 +450,7 @@ function! s:dosurround(...) " {{{1
|
|||||||
" Do nothing
|
" Do nothing
|
||||||
call setreg('"','')
|
call setreg('"','')
|
||||||
elseif char =~ "[\"'`]"
|
elseif char =~ "[\"'`]"
|
||||||
exe "norm! i \<Esc>d2i".char
|
exe "norm! a \<Esc>d2i".char
|
||||||
call setreg('"',substitute(getreg('"'),' ','',''))
|
call setreg('"',substitute(getreg('"'),' ','',''))
|
||||||
elseif char == '/'
|
elseif char == '/'
|
||||||
norm! "_x
|
norm! "_x
|
||||||
|
|||||||
Reference in New Issue
Block a user