allow dictionary global config

This commit is contained in:
Michael Chris Lopez
2021-10-27 16:49:45 +08:00
parent b51ca3f063
commit 681bcff0db
2 changed files with 13 additions and 0 deletions

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",