allow dictionary global config

This commit is contained in:
Michael Chris Lopez committed 2021-10-27 16:49:45 +08:00
1 parent b51ca3f063
commit 681bcff0db
2 files changed
+13

No files matched your search

+4
View File
@@ -9,6 +9,10 @@ function concat_config(prefix, suffixes)
end
function M.get_global_config(prefix, base_bg)
if type(vim.g[prefix]) == "table" then
return vim.g[prefix]
end
local common = concat_config(prefix, {
"solid_vert_split",
"solid_float_border",