mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-12 02:12:30 +00:00
Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
|
6c3bda4aca | ||
|
d51cf69783 | ||
|
1c9ba37045 |
5 changed files with 14 additions and 6 deletions
2
.github/.release-please-manifest.json
vendored
2
.github/.release-please-manifest.json
vendored
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
".": "11.17.0"
|
||||
".": "11.17.1"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# Changelog
|
||||
|
||||
## [11.17.1](https://github.com/folke/lazy.nvim/compare/v11.17.0...v11.17.1) (2025-02-25)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **bootstrap:** support for older Neovim versions ([1c9ba37](https://github.com/folke/lazy.nvim/commit/1c9ba3704564a2e34a22191bb89678680ffeb245))
|
||||
* **meta:** rebuild dirty right after disable. See [#1889](https://github.com/folke/lazy.nvim/issues/1889) ([d51cf69](https://github.com/folke/lazy.nvim/commit/d51cf6978321d659e68a8bc38ee806bd2517a196))
|
||||
|
||||
## [11.17.0](https://github.com/folke/lazy.nvim/compare/v11.16.2...v11.17.0) (2025-02-24)
|
||||
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
local uv = vim.uv or vim.loop
|
||||
if vim.env.LAZY_STDPATH then
|
||||
local root = vim.fn.fnamemodify(vim.env.LAZY_STDPATH, ":p"):gsub("[\\/]$", "")
|
||||
for _, name in ipairs({ "config", "data", "state", "cache" }) do
|
||||
|
@ -13,12 +14,12 @@ function M.setup()
|
|||
end
|
||||
end
|
||||
|
||||
if vim.env.LAZY_PATH and not vim.uv.fs_stat(vim.env.LAZY_PATH) then
|
||||
if vim.env.LAZY_PATH and not uv.fs_stat(vim.env.LAZY_PATH) then
|
||||
vim.env.LAZY_PATH = nil
|
||||
end
|
||||
|
||||
local lazypath = vim.env.LAZY_PATH or vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.env.LAZY_PATH and not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
if not vim.env.LAZY_PATH and not uv.fs_stat(lazypath) then
|
||||
vim.api.nvim_echo({
|
||||
{
|
||||
"Cloning lazy.nvim\n\n",
|
||||
|
|
|
@ -242,7 +242,7 @@ function M.hererocks()
|
|||
return M.options.rocks.hererocks
|
||||
end
|
||||
|
||||
M.version = "11.17.0" -- x-release-please-version
|
||||
M.version = "11.17.1" -- x-release-please-version
|
||||
|
||||
M.ns = vim.api.nvim_create_namespace("lazy")
|
||||
|
||||
|
|
|
@ -314,6 +314,7 @@ function M:fix_disabled()
|
|||
else
|
||||
self:disable(plugin)
|
||||
end
|
||||
self:rebuild()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -321,10 +322,8 @@ function M:fix_disabled()
|
|||
-- disable top-level plugins first, since they may have non-top-level frags
|
||||
-- that disable other plugins
|
||||
check(true)
|
||||
self:rebuild()
|
||||
-- then disable non-top-level plugins
|
||||
check(false)
|
||||
self:rebuild()
|
||||
return changes
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue