nlua - neovim as lua interpreter - eviltoast

nlua - neovim as lua interpreter

https://github.com/mfussenegger/nlua

I had previously written about how to create a script that uses neovim and emulates the lua interpreter cli - now I finally got around to extract it into a dedicated project, with some instructions on how to use it with luarocks.

#neovim @neovim

  • suy@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Seems very simple yet very useful. Thanks for sharing this to Lemmy!

    How come it requires such a newer neovim, though? I’m still in 0.7, and I’ve not bothered to upgrade (mostly because the many OSs in which I work on, this tends to be painful).

      • DaleGribble88@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I meant more of how Emacs is really an interactive environment for a lisp interpreter. That is where you get all the “Emacs as an operating system” jokes from. NVim seems to be falling down the same rabbit hole of extensions and obscure commands except by way of Lua rather than Lisp.