mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-28 03:30:12 +02:00
fix(core): use lazy.nvim version configured by the user
This commit is contained in:
parent
29ae872ad1
commit
254d0ca261
1 changed files with 5 additions and 9 deletions
|
@ -1,13 +1,9 @@
|
||||||
local specs = {
|
|
||||||
-- set to HEAD for now. I'm sill making too many changes for this repo related to lazy itself
|
|
||||||
{ "folke/lazy.nvim", version = false },
|
|
||||||
}
|
|
||||||
|
|
||||||
-- only add for >=9.0.1, since there's an endless loop in earlier versions
|
-- only add for >=9.0.1, since there's an endless loop in earlier versions
|
||||||
if require("lazyvim.config").has(">=9.1.0") then
|
if not require("lazyvim.config").has(">=9.1.0") then
|
||||||
specs[#specs + 1] = { "LazyVim/LazyVim", priority = 10000, lazy = false, config = true }
|
|
||||||
else
|
|
||||||
require("lazyvim.config").setup()
|
require("lazyvim.config").setup()
|
||||||
|
return {}
|
||||||
end
|
end
|
||||||
|
|
||||||
return specs
|
return {
|
||||||
|
{ "LazyVim/LazyVim", priority = 10000, lazy = false, config = true },
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue