fix: Handle nil config

This commit is contained in:
Jan K9f 2025-07-28 19:46:17 +02:00
commit 76c414adbf
Signed by: jank
GPG key ID: 22BEAC760B3333D6

View file

@ -10,7 +10,9 @@ M.options = {
function M.setup(user_options)
if user_options and type(user_options) == "table" then
for k, v in pairs(user_options) do
M.options[k] = v
if v ~= nil then
M.options[k] = v
end
end
end