summaryrefslogtreecommitdiff
path: root/lua/install.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/install.lua')
-rw-r--r--lua/install.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/install.lua b/lua/install.lua
new file mode 100644
index 0000000..75e0239
--- /dev/null
+++ b/lua/install.lua
@@ -0,0 +1,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)