Sunday, January 30, 2022

vim9 script : how to port legacy argue

HI,

According <f-args> argue used in legacy vimscript 

Legacy caller
command! -nargs=? Foobar           call foobar#bar#foo(<f-args>)

Called legacy func.
function!  foobar#bar#foo  (...) abort

Thank!
NV

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/9971d7bb-fc75-483e-8337-fb3ef6dc8f71n%40googlegroups.com.

No comments:

Post a Comment