mirror of
https://github.com/tpope/vim-surround.git
synced 2025-11-16 07:13:49 -05:00
Clear s:tag before starting wrap function
This commit is contained in:
@@ -127,6 +127,7 @@ endfunction
|
|||||||
function! s:wrap(string,char,type,...)
|
function! s:wrap(string,char,type,...)
|
||||||
let keeper = a:string
|
let keeper = a:string
|
||||||
let newchar = a:char
|
let newchar = a:char
|
||||||
|
let s:tag = ""
|
||||||
let type = a:type
|
let type = a:type
|
||||||
let linemode = type ==# 'V' ? 1 : 0
|
let linemode = type ==# 'V' ? 1 : 0
|
||||||
let special = a:0 ? a:1 : 0
|
let special = a:0 ? a:1 : 0
|
||||||
|
|||||||
Reference in New Issue
Block a user