fix(config): return defaults when setup was not run yet. Fixes #126
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user