Wednesday, May 13, 2020

Re: Vim9 - Python/Lua interface

> I first came into contact with Vim about 15 years ago.
> A few times I uninstalled it and reinstalled it a while later. After a few
> months I was convinced it was the best text editor I had ever seen.
> I only noticed how much value it had when I wrote scripts in vimrc myself
> and changed plugins/menu.
> Still, I had to get used to Vimscript. A whole new language, not something
> similar I already knew.
> However, I got completely excited when I understood that I could write
> scripts in Lua and Python.
> Why? Because it was not easy to get used to Vimscript and the help I asked
> on internet sites was rarely answered.
> Anyway, I did benefit from the vim_use group but I noticed that I found
> solutions faster writing in Python.
> I knew the language better and there was a huge amount of information
> online.
>
> Now I recently read on Reddit that there would be some changes in Vim9 and
> not everyone thought it was a good idea.
> Vimscript is going to change in Vim9 to make Vim respond faster. That's a
> good idea, although Vim is fast enough for me. The fastest editor I've ever
> seen.
> Reading further I read that Vim9 will be without its Python/Lua interface.
> That is really a pity.

Not sure what gave you that idea. We don't plan to do much work on
these interfaces, but they are certainly not going away. I suggested to
remove the least used one, Scheme, and immediately got objection from a
few people. Python is widely used, and some people like Lua. Might
also help for people who come from Neovim, which did some more Lua
stuff. Otherwise Lua isn't widely used and it doesn't appear to grow:
https://trends.google.com/trends/explore?date=today%205-y&geo=IT&q=%2Fm%2F0chpd,%2Fm%2F0n50hxv,%2Fm%2F05z1_

> Instead of removing the Python and Lua interface, why not integrate them
> even more?
> It would be great if we could search in Vim with python regex.
> Even if we could program the user input in python code.
> People often already know Python and Lua. I think it will bring a much
> larger amount of users to Vim.

This has existed as an idea for a long time, but nothing much has
happened. Clearly there are more plugin writers using Vim script than
anything else.

> Is it true that the Python and Lua interface will disappear?

No.

--
I AM THANKFUL...
...for all the complaining I hear about the government
because it means we have freedom of speech.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202005131805.04DI5CsL021855%40masaka.moolenaar.net.

No comments: