diff --git a/lua/auto-dark-mode/init.lua b/lua/auto-dark-mode/init.lua index 4801b72..0f8ff02 100644 --- a/lua/auto-dark-mode/init.lua +++ b/lua/auto-dark-mode/init.lua @@ -32,7 +32,7 @@ local function parse_query_response(res) -- 2: light if string.match(res, "uint32 1") ~= nil then return true - elseif string.match(res, "unit32 2") ~= nil then + elseif string.match(res, "uint32 2") ~= nil then return false else return fallback == "dark"