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.

  • ksynwa@lemmy.mlOP
    link
    fedilink
    arrow-up
    2
    ·
    4 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.