fix: preview = true (#2168)

(cherry picked from commit 3a29c1e89d)
This commit is contained in:
Simon Hauser
2023-01-06 14:27:30 +01:00
parent b206cef4fe
commit fd1b8bd9cf
3 changed files with 23 additions and 5 deletions
+3
View File
@@ -845,6 +845,9 @@ function config.set_defaults(user_defaults, tele_defaults)
if user_defaults[name] == false or config.values[name] == false then
return false
end
if user_defaults[name] == true then
return vim.F.if_nil(config.values[name], {})
end
return smarter_depth_2_extend(
vim.F.if_nil(user_defaults[name], {}),