mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 23:20:08 +02:00
perf(plugins): move assert vim.env.LVIM_DEV_MODE
logic (#3238)
This commit is contained in:
parent
a54312b769
commit
e94390a922
1 changed files with 2 additions and 2 deletions
|
@ -297,8 +297,8 @@ local get_default_sha1 = function(spec)
|
|||
return default_sha1[short_name] and default_sha1[short_name].commit
|
||||
end
|
||||
|
||||
for _, spec in ipairs(core_plugins) do
|
||||
if not vim.env.LVIM_DEV_MODE then
|
||||
if not vim.env.LVIM_DEV_MODE then
|
||||
for _, spec in ipairs(core_plugins) do
|
||||
-- Manually lock the commit hash since Packer's snapshots are unreliable in headless mode
|
||||
spec["commit"] = get_default_sha1(spec)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue