mirror of
https://github.com/tpope/vim-surround.git
synced 2026-10-14 18:27:48 +08:00
Fix regression in quote handling
This commit is contained in:
1 parent
9813515fb2
commit
9b9445f62b
1 file changed
+1
-1
+1
-1
@@ -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