Should I switch my Neovim config from VimScript to Lua?
So, I've been a Neovim user for a few years now. I started as most of you (I assume) with vim, and just kept on using and expanding that config file over the years.
I only recently realized there's quite a split between the Vim and Neovim plugins and that the Neovim community is pushing Lua as a better development platform. From what I can see, some users are switching their configs from Vimscript to Lua. To be honest all I know about Lua is that it means moon in Portuguese...
Should I too? What would the advantages be? What would the disadvantages be? For those who did switch, why did you switch and what was your experience? For those who didn't why did you not?
It's not hard to learn once you get over that first stage of not even knowing what a lua table is, and mentally accepts that arrays start at 1, not 0 :)
It should be noted that as long as you're on Neovim you can still keep your VimScript plugins and your VimScript config and gradually start using Lua plugins and Lua scripting. You don't need to do a complete rewrite over night.
There's no real downside to switching to Neovim. It's basically a superset of Vim, only with better defaults and more capabilities that you can opt-in to if you'd like (Treesitter, native LSP client, Lua, etc.).