fix(lazy): update typing and structure of lazy setup call
parent
5ce8fbf9cc
commit
2420c8860f
|
@ -15,8 +15,7 @@ if not lazy_loaded then
|
||||||
end
|
end
|
||||||
|
|
||||||
---@type LazyConfig
|
---@type LazyConfig
|
||||||
lazy.setup {
|
lazy.setup({
|
||||||
spec = {
|
|
||||||
-- TODO: change `branch="v4"` to `version="^4"` on release
|
-- TODO: change `branch="v4"` to `version="^4"` on release
|
||||||
{ "AstroNvim/AstroNvim", branch = "v4", import = "astronvim.plugins" },
|
{ "AstroNvim/AstroNvim", branch = "v4", import = "astronvim.plugins" },
|
||||||
-- AstroCommunity: import any community modules here
|
-- AstroCommunity: import any community modules here
|
||||||
|
@ -25,7 +24,7 @@ lazy.setup {
|
||||||
-- { import = "astrocommunity.pack.lua" },
|
-- { import = "astrocommunity.pack.lua" },
|
||||||
-- import/override with your plugins
|
-- import/override with your plugins
|
||||||
{ import = "plugins" },
|
{ import = "plugins" },
|
||||||
},
|
} --[[@as LazySpec]], {
|
||||||
install = { colorscheme = { "astrodark", "habamax" } },
|
install = { colorscheme = { "astrodark", "habamax" } },
|
||||||
performance = {
|
performance = {
|
||||||
rtp = {
|
rtp = {
|
||||||
|
@ -39,4 +38,4 @@ lazy.setup {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
} --[[@as LazyConfig]])
|
||||||
|
|
Loading…
Reference in New Issue