mirror of
https://github.com/gabehf/base46.git
synced 2026-03-09 23:48:16 -07:00
minor fixes
This commit is contained in:
parent
897c90cc79
commit
9d23caba95
3 changed files with 26 additions and 4 deletions
|
|
@ -37,7 +37,11 @@ if ui.hl_override then
|
|||
for group, _ in pairs(user_highlights) do
|
||||
for key, color in pairs(user_highlights[group]) do
|
||||
if key == "fg" or key == "bg" then
|
||||
user_highlights[group][key] = colors[color]
|
||||
if color:sub(1, 1) == "#" then
|
||||
user_highlights[group][key] = color
|
||||
else
|
||||
user_highlights[group][key] = colors[color]
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue