chore: fix diagnostic warnings/errors
This commit is contained in:
@@ -85,5 +85,5 @@ return function(name, specs, p)
|
||||
template = template .. table.concat(vim.fn.sort(xml_compiled), "\n")
|
||||
template = template .. end_template
|
||||
|
||||
return { string.format("extras/iterm/%s.itermcolors", name), template, values }
|
||||
return { string.format("extras/iterm/%s.itermcolors", name), template, {} }
|
||||
end
|
||||
|
||||
@@ -23,7 +23,7 @@ let s:p.tabline.tabsel = [ [ "${tabsel_fg}", "${tabsel_bg}", "bold" ] ]
|
||||
let g:lightline#colorscheme#zenbones#palette = lightline#colorscheme#fill(s:p)
|
||||
]]
|
||||
|
||||
return function(name, specs, p)
|
||||
return function(name, specs)
|
||||
return {
|
||||
string.format("autoload/lightline/colorscheme/%s.vim", name),
|
||||
template,
|
||||
|
||||
@@ -34,7 +34,7 @@ return {
|
||||
}
|
||||
]]
|
||||
|
||||
return function(name, specs, p)
|
||||
return function(name, specs)
|
||||
return {
|
||||
string.format("lua/lualine/themes/%s.lua", name),
|
||||
template,
|
||||
|
||||
@@ -15,10 +15,9 @@ brights = ["${color8}", "${color9}", "${color10}", "${color11}", "${color12}", "
|
||||
|
||||
return function(name, specs, p)
|
||||
local term = require("zenbones.term").colors_map(p)
|
||||
local name = name:sub(1, 1):upper() .. name:sub(2)
|
||||
|
||||
local values = {
|
||||
name = name,
|
||||
name = name:sub(1, 1):upper() .. name:sub(2),
|
||||
fg = specs.Normal.fg.hex,
|
||||
bg = specs.Normal.bg.hex,
|
||||
cursor_bg = specs.Cursor.bg.hex,
|
||||
@@ -31,5 +30,5 @@ return function(name, specs, p)
|
||||
values["color" .. (i - 1)] = v.hex
|
||||
end
|
||||
|
||||
return { string.format("extras/wezterm/%s.toml", name), template, values }
|
||||
return { string.format("extras/wezterm/%s.toml", values.name), template, values }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user