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,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]])