mirror of
https://github.com/tpope/vim-surround.git
synced 2026-09-10 07:16:17 -04:00
Merge a208a6e669 into e49d6c2459
This commit is contained in:
commit
eff85963c7
|
|
@ -231,6 +231,12 @@ function! s:wrap(string,char,type,removed,special)
|
|||
let after = ' ' . after
|
||||
endif
|
||||
endif
|
||||
elseif newchar ==# "R" || newchar == "\<C-R>"
|
||||
let blk = input('block: ')
|
||||
if blk != ""
|
||||
let before = blk . "\n\t"
|
||||
let after = "\nend"
|
||||
endif
|
||||
elseif newchar ==# "\<C-F>"
|
||||
let fnc = input('function: ')
|
||||
let s:input = fnc."\<CR>"
|
||||
|
|
|
|||
Loading…
Reference in a new issue