fix(lazy): update typing and structure of lazy setup call

pull/6/head
Micah Halter 2024-01-20 08:51:43 -05:00
parent 5ce8fbf9cc
commit 2420c8860f
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
1 changed files with 11 additions and 12 deletions

View File

@ -15,17 +15,16 @@ if not lazy_loaded then
end
---@type LazyConfig
lazy.setup {
spec = {
-- TODO: change `branch="v4"` to `version="^4"` on release
{ "AstroNvim/AstroNvim", branch = "v4", import = "astronvim.plugins" },
-- AstroCommunity: import any community modules here
-- TODO: Remove branch v4 on release
-- { "AstroNvim/astrocommunity", branch = "v4" },
-- { import = "astrocommunity.pack.lua" },
-- import/override with your plugins
{ import = "plugins" },
},
lazy.setup({
-- TODO: change `branch="v4"` to `version="^4"` on release
{ "AstroNvim/AstroNvim", branch = "v4", import = "astronvim.plugins" },
-- AstroCommunity: import any community modules here
-- TODO: Remove branch v4 on release
-- { "AstroNvim/astrocommunity", branch = "v4" },
-- { import = "astrocommunity.pack.lua" },
-- import/override with your plugins
{ import = "plugins" },
} --[[@as LazySpec]], {
install = { colorscheme = { "astrodark", "habamax" } },
performance = {
rtp = {
@ -39,4 +38,4 @@ lazy.setup {
},
},
},
}
} --[[@as LazyConfig]])