summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugin-manager.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugin-manager.lua')
-rw-r--r--.config/nvim/lua/plugin-manager.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugin-manager.lua b/.config/nvim/lua/plugin-manager.lua
new file mode 100644
index 0000000..4b86d13
--- /dev/null
+++ b/.config/nvim/lua/plugin-manager.lua
@@ -0,0 +1,14 @@
+local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
+if not (vim.uv or vim.loop).fs_stat(lazypath) then
+ vim.fn.system({
+ "git",
+ "clone",
+ "--filter=blob:none",
+ "https://github.com/folke/lazy.nvim.git",
+ "--branch=stable",
+ lazypath,
+ })
+end
+vim.opt.rtp:prepend(lazypath)
+require("lazy").setup("plugins")
+