integrate selene linting
This commit is contained in:
@@ -8,19 +8,27 @@ local specs = generator.generate(p, bg, generator.get_global_config("neobones",
|
||||
|
||||
if bg == "light" then
|
||||
return lush.extends({ specs }).with(function()
|
||||
---@diagnostic disable: undefined-global
|
||||
-- selene: allow(undefined_variable)
|
||||
return {
|
||||
helpHyperTextJump { fg = hsluv "#195174" }, -- --link-color
|
||||
helpOption { helpHyperTextJump },
|
||||
markdownUrl { helpHyperTextJump },
|
||||
}
|
||||
-- selene: deny(undefined_variable)
|
||||
---@diagnostic enable: undefined-global
|
||||
end)
|
||||
else
|
||||
return lush.extends({ specs }).with(function()
|
||||
---@diagnostic disable: undefined-global
|
||||
-- selene: allow(undefined_variable)
|
||||
return {
|
||||
FloatBorder { specs.FloatBorder, fg = hsluv "#203f57" }, -- --border-color
|
||||
helpHyperTextJump { fg = hsluv "#8ec77e" }, -- --link-color
|
||||
helpOption { helpHyperTextJump },
|
||||
markdownUrl { helpHyperTextJump },
|
||||
}
|
||||
-- selene: deny(undefined_variable)
|
||||
---@diagnostic enable: undefined-global
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user