mirror of https://github.com/folke/lazy.nvim.git
fix(meta): no need to check for old_dir when frags were not built yet. Fixes #1550
This commit is contained in:
parent
4ca3e9aa51
commit
24c832213c
|
@ -89,7 +89,7 @@ function M:add(plugin)
|
||||||
|
|
||||||
table.insert(meta._.frags, fragment.id)
|
table.insert(meta._.frags, fragment.id)
|
||||||
|
|
||||||
if meta._ and meta._.rtp_loaded then
|
if meta._ and meta._.rtp_loaded and meta.dir then
|
||||||
local old_dir = meta.dir
|
local old_dir = meta.dir
|
||||||
self:_rebuild(meta.name)
|
self:_rebuild(meta.name)
|
||||||
local new_dir = meta.dir
|
local new_dir = meta.dir
|
||||||
|
|
Loading…
Reference in New Issue