Fix quote support
This commit is contained in:
parent
9bf527af3a
commit
42e9b46e7a
@ -379,7 +379,7 @@ function! s:dosurround(...) " {{{1
|
|||||||
let strcount = (scount == 1 ? "" : scount)
|
let strcount = (scount == 1 ? "" : scount)
|
||||||
if char == '/'
|
if char == '/'
|
||||||
exe 'norm! '.strcount.'[/d'.strcount.']/'
|
exe 'norm! '.strcount.'[/d'.strcount.']/'
|
||||||
elseif char =~# '[[:punct:]]' && char !~# '[][(){}<>]'
|
elseif char =~# '[[:punct:]]' && char !~# '[][(){}<>"''`]'
|
||||||
exe 'norm! T'.char
|
exe 'norm! T'.char
|
||||||
if getline('.')[col('.')-1] == char
|
if getline('.')[col('.')-1] == char
|
||||||
exe 'norm! l'
|
exe 'norm! l'
|
||||||
|
Loading…
Reference in New Issue
Block a user