Shouldn't def functions be prohibited in legacy vimscript?
https://vi.stackexchange.com/questions/36829/how-can-i-define-vim9-functions-and-vim9-lambdas-in-a-vim9-script
Basically if you add
def! Hello()
echo "hello world"
enddef
to a regular legacy vim file (.vimrc, for example), function Hello is
globally defined and one can :call Hello() and get echoed "hello world".
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/a4ebf292-a736-429c-bf3f-6794cb94983dn%40googlegroups.com.