summaryrefslogtreecommitdiff
path: root/lua/cshift/lazy.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/cshift/lazy.lua')
-rw-r--r--lua/cshift/lazy.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/cshift/lazy.lua b/lua/cshift/lazy.lua
index 0a9c83d..c20194e 100644
--- a/lua/cshift/lazy.lua
+++ b/lua/cshift/lazy.lua
@@ -1,4 +1,5 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
+
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
@@ -9,5 +10,6 @@ if not vim.loop.fs_stat(lazypath) then
lazypath,
})
end
+
vim.opt.rtp:prepend(lazypath)