Saturday, May 29, 2021

Re: Plans (if any) for Vim9 runtime scripts?

> What is the vision for future runtime scripts? Is there a plan to move
> everything to Vim9—including, say, syntax scripts?
>
> What is your recommendation to contributors? Is it too early to
> translate runtime scripts to Vim9? Is it better to stick with the
> current Vim Script for the time being?
>
> I'd like to work on a major update on an ftplugin I contribute
> maintaining, and I am wondering whether it is worth rewriting in Vim9
> already.

You can write the script in Vim9 syntax now. Keep in mind that some
things might still change. If you regularly update Vim and don't mind
updating your script once in a while that will be fine.

I don't plan a mass migration yet, not only because it's a lot of work,
also because there might still be a few bugs to fix. Having a few
people migrate their scripts helps to uncover problems. Not only bugs,
but also things that turn out to be confusing or can be further
improved.

Eventually most scripts should use Vim9 syntax. It's easier to use and
when using compiled functions will execute much faster.

I also plan to update the help to put the Vim9 syntax where a command is
explained, instead of putting it all in vim9.txt. That will be quite a
bit of work!

--
Life is a gift, living is an art. (Bram Moolenaar)

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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/202105291244.14TCiOJc1507419%40masaka.moolenaar.net.

No comments:

Post a Comment