summaryrefslogtreecommitdiff
path: root/bootstrap.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 21:22:26 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 21:22:26 +0200
commit6dc7c2ef2a53a0fee742de19bfdd1e4a75a1a7c2 (patch)
treeae8a1abb68e5796101b5c605b8d8761c045d4cd5 /bootstrap.lua
parent5e5fac15095b4b2fb12c61e2b1049496b0c286ce (diff)
fix(bootstrap): test setting env var
Diffstat (limited to 'bootstrap.lua')
-rw-r--r--bootstrap.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap.lua b/bootstrap.lua
index 6147c84..d2f4161 100644
--- a/bootstrap.lua
+++ b/bootstrap.lua
@@ -17,6 +17,9 @@ local function ensure(user, repository)
)
)
execute(fmt("packadd %s", repository))
+ if repository == "packer.nvim" then
+ vim.env.BOOTSTRAPPED = true
+ end
end
end