Add tag to the end of repeat message

This commit is contained in:
Alex Padgett 2012-03-02 09:45:03 -05:00
parent 3482aea5ba
commit 09fd529c7a

View File

@ -507,7 +507,7 @@ function! s:opfunc(type,...) " {{{1
let &selection = sel_save let &selection = sel_save
let &clipboard = cb_save let &clipboard = cb_save
if a:type =~ '^\d\+$' if a:type =~ '^\d\+$'
silent! call repeat#set("\<Plug>Y".(a:0 && a:1 ? "S" : "s")."surround".char,a:type) silent! call repeat#set("\<Plug>Y".(a:0 && a:1 ? "S" : "s")."surround".char.s:tag,a:type)
endif endif
endfunction endfunction