Maybe vim9script will be better for something else entirely in the future, and that will be, as you describe something people may like. My point is that vim9script as it stands right now doesn't solve any real world use case that lua wouldn't be better suited for. When Rust was a pet project of Graydon, it looked VERY different to what it is right now. I guess that is to say the probablity that vim9script will succeed isn't high.Īnd golang initially started off as a replacement for C, and then pivoted because they couldn't achieve that purpose.
I for one am glad neovim exists, and I encourage people to throw a few bucks their way :)įor every golang and rust, there's probably tens or hundreds of programming languages that will never end up popular. Set number # This is a comment in vim9scriptĪnd to get any performance improvement, plugin authors will have to do a LOT of work that is not compatible with their existing plugins. Set number " This is a comment in vimscript Even the syntax for commenting is different: The worst part is that it doesn't appear that existing plugins will work in vim9script. I’m curious to see how this all pans out but I’m not optimistic. Just the sheer probability of better plugins existing and thriving in your ecosystem drop significantly once you choose to have vim9script as the scripting language. It’s a large complicated piece of software, you'll have to write it using without any linter, formatter or language server (at least for the foreseeable future) and your skills are not transferable to any other tool. Like, just imagine writing and maintaining something like magit or org mode in vim9script.
Vim9script on the other hand seems like an exploration in PL, which I’m all for generally but not in a software like vim.
There’s plugins written in lua today that just wouldn’t be possible in vimscript or vim9script script. There’s even transpilers to convert typescript / other languages to lua. Lua is way more beginner friendly than vimscript or vim9script, with luajit you get killer performance, lua has an awesome language server implementation, it’s a saner programming language imo and so much more going for it. I think it’s kind of crazy that vim9script is even a thing, especially when neovim has proven how much more viable lua is as a scripting language.