diff --git a/lua/lazyvim/config/init.lua b/lua/lazyvim/config/init.lua index 26ee2f960f..755fbe39b1 100644 --- a/lua/lazyvim/config/init.lua +++ b/lua/lazyvim/config/init.lua @@ -155,7 +155,7 @@ end setmetatable(M, { __index = function(_, key) if options == nil then - M.setup() + return vim.deepcopy(defaults)[key] end ---@cast options LazyVimConfig return options[key]