respect override table

This commit is contained in:
Chris 2021-08-01 15:13:56 -04:00
parent 72f5a54ec2
commit 0e05f05e9d
2 changed files with 18 additions and 0 deletions

View file

@ -42,6 +42,15 @@ local function r_inspect_settings(structure, limit, separator)
return limit - 1
end
function utils.has_value(tab, val)
for _, value in ipairs(tab) do
if value == val then
return true
end
end
return false
end
function utils.generate_settings()
-- Opens a file in append mode
local file = io.open("lv-settings.lua", "w")