fix(config): vim darkmode check typo

Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
2025-03-12 14:29:01 +02:00
parent 5e1a2d0dd0
commit 56f49ab314

View File

@@ -341,9 +341,9 @@ function! ChangeColorScheme(channel, msg)
endfunction
function! CheckStatus(timer)
if executable("default")
if executable("defaults")
let job = job_start(
\ ["default", "read", "-g", "AppleInterfaceStyle"],
\ ["defaults", "read", "-g", "AppleInterfaceStyle"],
\ {"out_cb": "ChangeColorScheme"}
\ )
else