Is it possible to write .nvimrc for NeoVim in Lua? Is it planned for the future?

  • According to this discussion on reddit I would say that you'll still have to write your nvimrc in vimscript. But maybe someone has more info than I have.
    – statox
    Jun 23 '15 at 12:11
  • 1
    I'd even argue you don't want to write your .nvimrc in Lua. Ultimately, I think the plan is to use Vimscript for configuration and Lua for plugins, scripting, etc.
    – bsmith89
    Nov 4 '15 at 22:11
  • These days you can use the vimpeccable plugin for this Sep 20 '20 at 2:25

As of of June 2015, the lua to VimsSript transpiler integration is still being worked on, so currently you cannot use Lua to write .nvimrc, unfortunately.

See this issue: https://github.com/neovim/neovim/issues/1536

  • I believe what NeoVim wants to achieve is a VimScript to Lua transpiler, so they can use the LuaJIT runtime. So I'm wondering if the Lua engine is already integrated anywhere... Jun 29 '15 at 20:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.