integrate selene linting
This commit is contained in:
@@ -5,6 +5,8 @@ local p = require "nordbones.palette"
|
||||
local specs = generator.generate(p.derived, "dark", generator.get_global_config("nordbones", "dark"))
|
||||
|
||||
return lush.extends({ specs }).with(function()
|
||||
---@diagnostic disable: undefined-global
|
||||
-- selene: allow(undefined_variable)
|
||||
return {
|
||||
Number { fg = p.base.nord7, gui = "italic" },
|
||||
Identifer { fg = p.derived.fg },
|
||||
@@ -12,4 +14,6 @@ return lush.extends({ specs }).with(function()
|
||||
Statement { fg = p.base.nord9 },
|
||||
Type { fg = p.base.nord10 },
|
||||
}
|
||||
-- selene: deny(undefined_variable)
|
||||
---@diagnostic enable: undefined-global
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user