mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
refactor: rename Plugin.lock => Plugin.pin to prevent confusion with the lockfile
This commit is contained in:
parent
b796abcc33
commit
69cdb718f8
3 changed files with 5 additions and 5 deletions
|
@ -32,7 +32,7 @@ M.dirty = false
|
|||
---@field tag? string
|
||||
---@field commit? string
|
||||
---@field version? string
|
||||
---@field lock? boolean
|
||||
---@field pin? boolean
|
||||
|
||||
---@class LazyPlugin: LazyPluginHandlers,LazyPluginHooks,LazyPluginRef
|
||||
---@field [1] string
|
||||
|
|
|
@ -131,7 +131,7 @@ M.checkout = {
|
|||
|
||||
-- if the plugin is locked and we did not just clone it,
|
||||
-- then don't update
|
||||
if self.plugin.lock and not self.plugin._.cloned then
|
||||
if self.plugin.pin and not self.plugin._.cloned then
|
||||
target = info
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue