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?

p.s. review (roast) my dotfiles

edit: thank you all for your input! I will consider slowly switching to lua by modifying only some parts of the config as some of you suggested.

  • ScreaminOctopus
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Switched a few years back when I decided to mostly rewrite my config from scratch. It’s definitely nice to use a normal programming language for your config, plus I’ve been doing a few things here and there that I never would have bothered with if I was still using vimscript. To top it off, I’m pretty sure you have to at least do some Lua work if you want to take advantage of the built in lsp support, which I make use of extensively.