I gave it a go last night and it is way trickier then I expected. Simple things like setting options are not very convenient at the moment. I also tried to get packer.nvim running but the README was not very helpful.

Looks like I will be sticking with init.vim for some time.

  • @cheer
    link
    33 years ago

    What trouble do you have with it? I found it very straightforward.

    • @ksynwaOP
      link
      23 years ago

      The first thing is obviously the lua syntax which is not a shock by any means. Just adds some learning curve which I don’t mind at all.

      My knowledge of vim configuration is limited so the explanation may be a bit vague. But in vimscript you can do something like set expandtab, but in lua you have to set in one of vim.{o,bo,wo} which is a bit confusing at the beginning.

      The last thing is that I cannot for the life for me figure out how to get packer.nvim to work. I tried looking at some examples but they split their config between several files and since I am not very good at programming, let alone lua, I get very confused by this. I slogged through the readme for the project but couldn’t understand much of it either.

  • NinmiM
    link
    fedilink
    33 years ago

    I’ve really been looking forward to porting mine over and cleaning up the absolute monstrosity while I do it. However as my knowledge of vimscript is very limited to begin with, I thought I’d wait for the stable release and possible migration guides. In the meantime I’m just getting used to the syntax peculiarities of Lua.

    Feel free to link any resources and guides here, I’d be interested in reading them.