diff --git a/plugin/surround.vim b/plugin/surround.vim index 82b016e..60663c1 100644 --- a/plugin/surround.vim +++ b/plugin/surround.vim @@ -164,7 +164,7 @@ function! s:wrap(string,char,type,removed,special) elseif newchar ==# ':' let before = ':' let after = '' - elseif newchar =~# "[tT\<,]" + elseif newchar =~# "[tT\<]" let dounmapp = 0 let dounmapb = 0 if !maparg(">","c") @@ -200,7 +200,7 @@ function! s:wrap(string,char,type,removed,special) let before = '<'.tag.attributes.'>' let after = '' endif - if newchar == "\" || newchar == "," + if newchar == "\" if type ==# "v" || type ==# "V" let before .= "\n\t" endif