mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 03:24:13 +00:00
fix: show proper installed/clean state for local plugins
This commit is contained in:
parent
39c7e21c5f
commit
1e2f5273bb
2 changed files with 6 additions and 0 deletions
|
@ -105,6 +105,7 @@ M.fetch = {
|
|||
skip = function(plugin)
|
||||
return not plugin._.installed or plugin._.is_local
|
||||
end,
|
||||
|
||||
run = function(self)
|
||||
local args = {
|
||||
"fetch",
|
||||
|
@ -124,6 +125,7 @@ M.checkout = {
|
|||
skip = function(plugin)
|
||||
return not plugin._.installed or plugin._.is_local
|
||||
end,
|
||||
|
||||
---@param opts {lockfile?:boolean}
|
||||
run = function(self, opts)
|
||||
local info = assert(Git.info(self.plugin.dir))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue