rename _dim_noncurrent_window to _darken_noncurrent_window
This commit is contained in:
@@ -7,9 +7,16 @@ function M.get_global_config(prefix, base_bg)
|
||||
comment_gui = vim.g[prefix .. "_italic_comments"] ~= false and "italic" or "NONE",
|
||||
}
|
||||
if base_bg == "light" then
|
||||
if vim.g[prefix .. "_dim_noncurrent_window"] then
|
||||
vim.notify(
|
||||
prefix .. "_dim_noncurrent_window is replaced by " .. prefix .. "_darken_noncurrent_window",
|
||||
vim.log.levels.ERROR,
|
||||
{ title = "zenbones" }
|
||||
)
|
||||
end
|
||||
return vim.tbl_extend("keep", {
|
||||
lightness = vim.g[prefix .. "_lightness"],
|
||||
dim_noncurrent_window = vim.g[prefix .. "_dim_noncurrent_window"],
|
||||
darken_noncurrent_window = vim.g[prefix .. "_darken_noncurrent_window"],
|
||||
darken_comments = vim.g[prefix .. "_darken_comments"],
|
||||
darken_line_nr = vim.g[prefix .. "_darken_line_nr"],
|
||||
}, common)
|
||||
|
||||
Reference in New Issue
Block a user