summaryrefslogtreecommitdiff
path: root/tests/specs/plugins_load_spec.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-04-03 14:32:52 +0200
committerGitHub <[email protected]>2022-04-03 14:32:52 +0200
commitfa710f6ddd6da354f3410d6d7ef42d306a54f145 (patch)
tree01825ad9bf81b6095ed218dce983fac74ba14219 /tests/specs/plugins_load_spec.lua
parent93c5fed8e768d019ddb4f0213416df745cd0e929 (diff)
refactor: re-enable packer.sync() in LvimReload (#2410)
Diffstat (limited to 'tests/specs/plugins_load_spec.lua')
-rw-r--r--tests/specs/plugins_load_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/specs/plugins_load_spec.lua b/tests/specs/plugins_load_spec.lua
index e5f1a09e..d32c521d 100644
--- a/tests/specs/plugins_load_spec.lua
+++ b/tests/specs/plugins_load_spec.lua
@@ -57,8 +57,8 @@ a.describe("plugin-loader", function()
_G.completed = true
end
end
- vim.cmd [[autocmd User PackerComplete lua _G.verify_sha()]]
- loader.sync_core_plugins()
+ vim.cmd [[autocmd User PackerComplete ++once lua _G.verify_sha()]]
+ loader.load_snapshot()
local ret = vim.wait(30 * 10 * 1000, function()
return _G.completed == true
end, 200)