Fix regression in quote handling
This commit is contained in:
parent
9813515fb2
commit
9b9445f62b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user