mirror of
https://github.com/gabehf/base46.git
synced 2026-03-11 08:20:54 -07:00
fix base46 colors not working in guisp opt #172
This commit is contained in:
parent
1c0da377cc
commit
2095bdd736
1 changed files with 3 additions and 1 deletions
|
|
@ -30,7 +30,9 @@ M.turn_str_to_color = function(tb)
|
|||
|
||||
for _, hlgroups in pairs(tb) do
|
||||
for opt, val in pairs(hlgroups) do
|
||||
if (opt == "fg" or opt == "bg") and not (val:sub(1, 1) == "#" or val == "none" or val == "NONE") then
|
||||
if
|
||||
(opt == "fg" or opt == "bg" or opt == "sp") and not (val:sub(1, 1) == "#" or val == "none" or val == "NONE")
|
||||
then
|
||||
hlgroups[opt] = colors[val]
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue