Fresh Neovim config with nvim-light

I started a fresh init.lua based off VonHeikemen/nvim-light. I found this repo when searching for a good lightweight, modern boilerplate config.

TLDR: It’s good!

Why bother? Starting with v0.12, Neovim now has a built-in plugin manager, vim.pack. Not only does that mean one less third-party dependency to manage, but the built-in version looks nice and simple. For example, here’s how you add packages:

vim.pack.add({
  'https://github.com/nvim-mini/mini.nvim',
  'https://github.com/neovim/nvim-lspconfig',
  'https://github.com/nvim-treesitter/nvim-treesitter',
})

Can’t get much more straightforward than that.

My former config was based on kickstart.nvim, which used the last de facto standard plugin manager, lazy.nvim. I was about to say that kickstart hasn’t been updated to use vim.pack, but now I see it has! Maybe I would’ve stuck with kickstart had I seen that.

Anyway, I’m liking vim.pack more than lazy.nvim. Lazy certainly works well, but the configuration syntax felt just a touch bespoke to me. [Disclaimer: extremely non-expert opinion.]