diff --git a/lua/pckr/loader.lua b/lua/pckr/loader.lua index bf25bdb..f27e0f0 100644 --- a/lua/pckr/loader.lua +++ b/lua/pckr/loader.lua @@ -122,7 +122,7 @@ local function packadd(plugin) return end - if vim.v.vim_did_enter ~= 1 and not plugin.cond then + if vim.v.vim_did_enter ~= 1 and not vim.fn.expand('') then -- Do not source. We've already added to rtp, so no need to do anything. return end