summaryrefslogtreecommitdiff
path: root/lua/install.lua
blob: cf0a9c31f53bcf6c11db679f9ea1463c8739383b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- Installs plugins with packer.
local plugins = require "plugins"

PACKER_BOOTSTRAP = require "bootstrap"

local packer = require "config.packer"

-- Install your plugins here
return packer.startup(function(use)
  for _, plugin in ipairs(plugins) do
    use(plugin)
  end

  -- Automatically set up your configuration after cloning packer.nvim
  -- Put this at the end after all plugins
  if PACKER_BOOTSTRAP then
    packer.sync()
  end
end)