News for hackers. Stuff that matters.
Re:Todo List for Vim by ajfjrbfbf on Tuesday January 26, 2021 @07:49AM (#25915212)
I know nothing about Vim script, but since they're overhauling it, wouldn't it be a better option to rely on python scripting by providing a plugin API? Of course there's backwards compatibility, but they could always support both for a few years. Having to support your own language always seemed like a waste of time to me.
Re:Todo List for Vim by gbrown_ on Tuesday January 26, 2021 @08:21AM (#25915467)
See the "PHASING OUT INTERFACES" section of the link in my comment for Vim's reasoning of moving away from this. Personally I broadly agree with it as I've seen many people struggle setting up plugins that depend on other things like python.

That said the approach Neovim took of shipping Lua built-in addresses the same portability/ease/reliability of use. In retrospect I think this is a better course of action.

Re:Todo List for Vim by simias on Tuesday January 26, 2021 @09:04AM (#25915834)
I agree. I haven't given Neovim a chance yet and I'm not a huge fan of Lua but it would certainly be a pretty good upgrade compared to clunky Vimscript.

Vimscript feels like a configuration file format gone wild (probably because it's sort of what it is) and it's really annoying to use in my experience. Coming from Emacs it was really a bad surprise: say what you want about elisp, it at least feels like a proper programming language.

Re:Todo List for Vim by jherdman on Tuesday January 26, 2021 @09:37AM (#25916180)
> ... wouldn't it be a better option to rely on python scripting by providing a plugin API

NeoVim is using Lua for this very reason. It fits the bill nicely, and is quite fast.