Disable unwanted diagnostics warning
This commit is contained in:
2
uosc.lua
2
uosc.lua
@@ -3221,6 +3221,8 @@ for _, name in ipairs({'timeline', 'volume', 'top_bar', 'speed'}) do
|
|||||||
for _, state in ipairs(split(options[option_name], ' *, *')) do
|
for _, state in ipairs(split(options[option_name], ' *, *')) do
|
||||||
flags[state] = true
|
flags[state] = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@diagnostic disable-next-line: assign-type-mismatch
|
||||||
options[option_name] = flags
|
options[option_name] = flags
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user