mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: added lockfile support
This commit is contained in:
parent
bbad0cb891
commit
4384d0e6d9
7 changed files with 127 additions and 44 deletions
|
@ -13,6 +13,7 @@ M.defaults = {
|
|||
},
|
||||
interactive = true,
|
||||
packpath = vim.fn.stdpath("data") .. "/site/pack/lazy",
|
||||
lockfile = vim.fn.stdpath("config") .. "/lazy-lock.json",
|
||||
view = {
|
||||
icons = {
|
||||
start = "",
|
||||
|
@ -23,6 +24,7 @@ M.defaults = {
|
|||
keys = " ",
|
||||
cmd = " ",
|
||||
ft = "",
|
||||
task = "✔ ",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -18,11 +18,11 @@ M.dirty = false
|
|||
|
||||
---@class LazyPluginState
|
||||
---@field loaded? {[string]:string, time:number}
|
||||
---@field installed? boolean
|
||||
---@field installed boolean
|
||||
---@field tasks? LazyTask[]
|
||||
---@field dirty? boolean
|
||||
---@field updated? {from:string, to:string}
|
||||
---@field is_local? boolean
|
||||
---@field is_local boolean
|
||||
---@field is_symlink? boolean
|
||||
---@field cloned? boolean
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue