nullchilly 2 years ago
parent 0dd42959b6
commit 5eed608943

@ -510,7 +510,7 @@ However,if you wish to use the old highlight (slower):
```lua ```lua
local function highlight(tbl) local function highlight(tbl)
for group, color in pairs(tbl) do for group, color in pairs(tbl) do
if color.style and type(color.style) == "table" then if color.style then
color.style = table.concat(color.style, ",") color.style = table.concat(color.style, ",")
end end
local style = color.style and "gui=" .. color.style or "gui=NONE" local style = color.style and "gui=" .. color.style or "gui=NONE"

Loading…
Cancel
Save