This commit is contained in:
Dhruva Sagar 2016-11-28 10:34:03 +00:00 committed by GitHub
commit eff85963c7

View file

@ -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>"