For any questions related to configuring Neovim with Lua or migrating over to Lua from Vimscript.

  • NinmiOPM
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    4 years ago

    Thank you! I’m gonna study this well before I copy paste time around.

    E: it works! Somehow the Lua version is easier to read and understand as well.

    • cheer@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      4 years ago

      Glad to hear it! Had to go digging though the help pages to find out what expand() did in the original and how to get the word under the cursor in Lua