summaryrefslogtreecommitdiff
path: root/lua/install.lua
blob: 75e02399db00b1dea81d0d413d519d6c5817edd9 (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"

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)