On Tue, Nov 3, 2020 at 9:24 AM Steve Litt <slitt@troubleshooters.com> wrote:
>
> On Mon, 02 Nov 2020 19:19:38 +0100
> Bram Moolenaar <Bram@moolenaar.net> wrote:
>
> > Hello Vim users,
> >
> > 29 years ago the very first version of Vim was built and distributed.
> > And Vim is more popular than ever before! So, what's going on these
> > days?
> >
> >
> > VIM 9 DEVELOPMENTS - MAKING VIM SCRIPT FASTER AND EASIER TO USE
[...]
> > In case you don't like Vim 9 script, you can keep using the legacy
> > one, it won't go away and remain backwards compatible.
>
> Can I use some of one and some of the other, so I can slowly switch
> things to the new one?
Yes.
For instance, in an old-style Vim script, you can define a new-style
"def" function (see :help :def). Everything from the :def statement to
the corresponding :enddef must be in new-style code IIUC.
I _think_ you can also use an old-style "function" function in a
new-style script but I'm not sure of that.
You can always :source a new-style script from an old-style one, or vice-versa.
Warning: Vim 9 is still under development. You can use it in the
latest Vim builds (see :help vim9.txt in a recent enough Vim), you are
even encouraged to do so if you want to help Bram find and fix the
bugs in it, but at the moment it is "at your own risk".
Best regards,
Tony.
--
--
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/CAJkCKXvqEVKbMUhwyOOg6dBqegMiBGXabFcMkGATjain%2BLSXZw%40mail.gmail.com.
Tuesday, November 3, 2020
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment