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
|
||||
call setreg('"','')
|
||||
elseif char =~ "[\"'`]"
|
||||
exe "norm! i \<Esc>d2i".char
|
||||
exe "norm! a \<Esc>d2i".char
|
||||
call setreg('"',substitute(getreg('"'),' ','',''))
|
||||
elseif char == '/'
|
||||
norm! "_x
|
||||
|
||||
Reference in New Issue
Block a user