def py_fn_to_vim_function(vimscript_fn_name, py_fn):
    global WRAP_INDEX
    wrap_proxy[WRAP_INDEX] = py_fn
    vim.command("function! g:%s()\npy venom.wrap_proxy[%d]()\nendfunction" % (vimscript_fn_name, WRAP_INDEX))
    WRAP_INDEX += 1
dataset/ETHPy150Open nielsmadan/venom/autoload/venom.py/py_fn_to_vim_function/original