diff --git a/README.md b/README.md index 81b0f37..5672a26 100644 --- a/README.md +++ b/README.md @@ -25,26 +25,26 @@ ## ✅ TODO -- [x] support for Plugin.lock - [ ] health checks: check merge conflicts async +- [ ] allow setting up plugins through config +- [x] support for Plugin.lock - [x] defaults for git log - [x] view keybindings for update/clean/... - [x] add profiler to view - [x] add buttons for actions - [x] show time taken for op in view - [ ] package meta index (package.lua cache for all packages) -- [ ] migrate from Packer - [ ] auto lazy-loading of lua modules - [ ] use uv file watcher to check for config changes - [x] clear errors - [x] add support for versions `git tag --sort v:refname` - [x] rename requires to dependencies - [x] move tasks etc to Plugin.state -- [ ] allow setting up plugins through config - [x] handlers imply opt - [x] dependencies imply opt for deps - [x] fix local plugin spec - [ ] investigate all opt=true. Simplifies logic (easily switch between opt/start afterwards) +- [ ] add support to specify `engines`, `os` and `cpu` like in `package.json` ## 📦 Differences with Packer diff --git a/lua/lazy/core/plugin.lua b/lua/lazy/core/plugin.lua index fe5fd13..7b380eb 100644 --- a/lua/lazy/core/plugin.lua +++ b/lua/lazy/core/plugin.lua @@ -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 diff --git a/lua/lazy/manage/task/git.lua b/lua/lazy/manage/task/git.lua index 0055acc..cef7e88 100644 --- a/lua/lazy/manage/task/git.lua +++ b/lua/lazy/manage/task/git.lua @@ -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