mirror of
https://github.com/gabehf/base46.git
synced 2026-03-14 01:37:03 -07:00
fix blend option not working (#152)
This commit is contained in:
parent
99378dca8e
commit
1f353132de
1 changed files with 2 additions and 1 deletions
|
|
@ -89,7 +89,8 @@ M.table_to_str = function(tb)
|
||||||
local opts = ""
|
local opts = ""
|
||||||
|
|
||||||
for optName, optVal in pairs(hlgroup_vals) do
|
for optName, optVal in pairs(hlgroup_vals) do
|
||||||
local valueInStr = type(optVal) == "boolean" and " " .. tostring(optVal) or '"' .. optVal .. '"'
|
local valueInStr = ((type(optVal)) == "boolean" or type(optVal) == "number") and tostring(optVal)
|
||||||
|
or '"' .. optVal .. '"'
|
||||||
opts = opts .. optName .. "=" .. valueInStr .. ","
|
opts = opts .. optName .. "=" .. valueInStr .. ","
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue