From 0b2f4e833c734db1f32fedc4502644bb08de97c8 Mon Sep 17 00:00:00 2001 From: winston Date: Wed, 9 Oct 2024 12:05:46 +0200 Subject: [PATCH] fix: typo introduced in #28 --- lua/auto-dark-mode/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"