5

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

3
  • 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, 2015 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, 2015 at 22:11
  • 1
    These days you can use the vimpeccable plugin for this Sep 20, 2020 at 2:25

1 Answer 1

2

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

1
  • 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, 2015 at 20:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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