Neovim 0.12 adds vim.pack

It's a pain having to use external plugin managers for vim. It's always ircked me, and now I'm glad to see the neovim has added a builtin plugin manager as of 0.12.

As of writing, 0.12 is the dev release. But I've been using it with no issues.

This YouTube video explains the feature much better than Brian, How to use vim.pack

The new feature is called vim.pack and it has a super simple api consisting of add, update, and del. This allows you to use lua to manage your plugins with ease.

So now to add plugins, take the url and pass it to vim.pack.add with all your other plugin urls.

vim.pack.add({
  'https://github.com/neovim/nvim-lspconfig',
  'https://github.com/nvim-treesitter/nvim-treesitter',
  'https://github.com/nvim-lua/plenary.nvim',
  'https://github.com/nvim-telescope/telescope.nvim',
  -- and so on
})

Until next time,

Brian