fix some options not working
This commit is contained in:
@@ -13,7 +13,7 @@ function M.generate(p, opt)
|
|||||||
normal_bg = p.bg_dim
|
normal_bg = p.bg_dim
|
||||||
diff_bg_l = 4
|
diff_bg_l = 4
|
||||||
elseif opt.lightness ~= nil then
|
elseif opt.lightness ~= nil then
|
||||||
local error_msg = "Unknown zenbones_lightness value: " .. vim.inspect(lightness)
|
local error_msg = "Unknown lightness value: " .. vim.inspect(lightness)
|
||||||
vim.api.nvim_echo({ { error_msg, "WarningMsg" } }, true, {})
|
vim.api.nvim_echo({ { error_msg, "WarningMsg" } }, true, {})
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -388,7 +388,7 @@ function M.generate(p, opt)
|
|||||||
theme,
|
theme,
|
||||||
}
|
}
|
||||||
|
|
||||||
if opt.zenbones_dim_noncurrent_window then
|
if opt.dim_noncurrent_window then
|
||||||
table.insert(
|
table.insert(
|
||||||
specs,
|
specs,
|
||||||
lush(function()
|
lush(function()
|
||||||
@@ -399,7 +399,7 @@ function M.generate(p, opt)
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
if opt.zenbones_solid_vert_split then
|
if opt.solid_vert_split then
|
||||||
table.insert(
|
table.insert(
|
||||||
specs,
|
specs,
|
||||||
lush(function()
|
lush(function()
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ function M.generate(p, opt)
|
|||||||
normal_bg = p.bg_warm
|
normal_bg = p.bg_warm
|
||||||
diff_bg_l = 3
|
diff_bg_l = 3
|
||||||
elseif opt.darkness ~= nil then
|
elseif opt.darkness ~= nil then
|
||||||
local error_msg = "Unknown zenflesh_darkness value: " .. vim.inspect(darkness)
|
local error_msg = "Unknown darkness value: " .. vim.inspect(darkness)
|
||||||
vim.api.nvim_echo({ { error_msg, "WarningMsg" } }, true, {})
|
vim.api.nvim_echo({ { error_msg, "WarningMsg" } }, true, {})
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -388,7 +388,7 @@ function M.generate(p, opt)
|
|||||||
theme,
|
theme,
|
||||||
}
|
}
|
||||||
|
|
||||||
if opt.zenflesh_lighten_noncurrent_window then
|
if opt.lighten_noncurrent_window then
|
||||||
table.insert(
|
table.insert(
|
||||||
specs,
|
specs,
|
||||||
lush(function()
|
lush(function()
|
||||||
@@ -399,7 +399,7 @@ function M.generate(p, opt)
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
if opt.zenflesh_solid_vert_split then
|
if opt.solid_vert_split then
|
||||||
table.insert(
|
table.insert(
|
||||||
specs,
|
specs,
|
||||||
lush(function()
|
lush(function()
|
||||||
|
|||||||
Reference in New Issue
Block a user