mirror of https://github.com/folke/lazy.nvim.git
refactor: rename Plugin.lock => Plugin.pin to prevent confusion with the lockfile
This commit is contained in:
parent
b796abcc33
commit
69cdb718f8
|
@ -25,26 +25,26 @@
|
||||||
|
|
||||||
## ✅ TODO
|
## ✅ TODO
|
||||||
|
|
||||||
- [x] support for Plugin.lock
|
|
||||||
- [ ] health checks: check merge conflicts async
|
- [ ] health checks: check merge conflicts async
|
||||||
|
- [ ] allow setting up plugins through config
|
||||||
|
- [x] support for Plugin.lock
|
||||||
- [x] defaults for git log
|
- [x] defaults for git log
|
||||||
- [x] view keybindings for update/clean/...
|
- [x] view keybindings for update/clean/...
|
||||||
- [x] add profiler to view
|
- [x] add profiler to view
|
||||||
- [x] add buttons for actions
|
- [x] add buttons for actions
|
||||||
- [x] show time taken for op in view
|
- [x] show time taken for op in view
|
||||||
- [ ] package meta index (package.lua cache for all packages)
|
- [ ] package meta index (package.lua cache for all packages)
|
||||||
- [ ] migrate from Packer
|
|
||||||
- [ ] auto lazy-loading of lua modules
|
- [ ] auto lazy-loading of lua modules
|
||||||
- [ ] use uv file watcher to check for config changes
|
- [ ] use uv file watcher to check for config changes
|
||||||
- [x] clear errors
|
- [x] clear errors
|
||||||
- [x] add support for versions `git tag --sort v:refname`
|
- [x] add support for versions `git tag --sort v:refname`
|
||||||
- [x] rename requires to dependencies
|
- [x] rename requires to dependencies
|
||||||
- [x] move tasks etc to Plugin.state
|
- [x] move tasks etc to Plugin.state
|
||||||
- [ ] allow setting up plugins through config
|
|
||||||
- [x] handlers imply opt
|
- [x] handlers imply opt
|
||||||
- [x] dependencies imply opt for deps
|
- [x] dependencies imply opt for deps
|
||||||
- [x] fix local plugin spec
|
- [x] fix local plugin spec
|
||||||
- [ ] investigate all opt=true. Simplifies logic (easily switch between opt/start afterwards)
|
- [ ] 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
|
## 📦 Differences with Packer
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ M.dirty = false
|
||||||
---@field tag? string
|
---@field tag? string
|
||||||
---@field commit? string
|
---@field commit? string
|
||||||
---@field version? string
|
---@field version? string
|
||||||
---@field lock? boolean
|
---@field pin? boolean
|
||||||
|
|
||||||
---@class LazyPlugin: LazyPluginHandlers,LazyPluginHooks,LazyPluginRef
|
---@class LazyPlugin: LazyPluginHandlers,LazyPluginHooks,LazyPluginRef
|
||||||
---@field [1] string
|
---@field [1] string
|
||||||
|
|
|
@ -131,7 +131,7 @@ M.checkout = {
|
||||||
|
|
||||||
-- if the plugin is locked and we did not just clone it,
|
-- if the plugin is locked and we did not just clone it,
|
||||||
-- then don't update
|
-- 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
|
target = info
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue