:func! Foobar(...)
:endf
:let s:myfuncname = Foobar
:call s:myfuncname(1,2,3,4,5)
if function name is first-class variable this should work, however it
does not work.
then is there any method to define an alias for a function?
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment