From 42e9b46e7a20a2f394664874c7bbd9d6f6c39e8a Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 23 Sep 2013 14:05:37 -0400 Subject: [PATCH] Fix quote support --- plugin/surround.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/surround.vim b/plugin/surround.vim index 5250134..05b1c5c 100644 --- a/plugin/surround.vim +++ b/plugin/surround.vim @@ -379,7 +379,7 @@ function! s:dosurround(...) " {{{1 let strcount = (scount == 1 ? "" : scount) if char == '/' exe 'norm! '.strcount.'[/d'.strcount.']/' - elseif char =~# '[[:punct:]]' && char !~# '[][(){}<>]' + elseif char =~# '[[:punct:]]' && char !~# '[][(){}<>"''`]' exe 'norm! T'.char if getline('.')[col('.')-1] == char exe 'norm! l'