fix lint errors
This commit is contained in:
@@ -57,7 +57,8 @@ local function transform(colors)
|
||||
return { text }
|
||||
end
|
||||
|
||||
local function specs_to_colors(specs)
|
||||
local function specs_to_colors(colorscheme)
|
||||
local specs, name = unpack(colorscheme)
|
||||
return {
|
||||
name = name,
|
||||
common_fg = specs.Folded.fg,
|
||||
@@ -83,10 +84,12 @@ local function specs_to_colors(specs)
|
||||
}
|
||||
end
|
||||
|
||||
-- selene: allow(undefined_variable)
|
||||
run(
|
||||
specs,
|
||||
{ specs, name },
|
||||
specs_to_colors,
|
||||
transform,
|
||||
{ prepend, [[" This file is auto-generated by shipwright.nvim]] },
|
||||
{ overwrite, string.format("autoload/lightline/colorscheme/%s.vim", name) }
|
||||
)
|
||||
-- selene: deny(undefined_variable)
|
||||
|
||||
Reference in New Issue
Block a user