mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-14 21:53:25 +00:00
fix(config): vim darkmode check typo
Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
@@ -341,9 +341,9 @@ function! ChangeColorScheme(channel, msg)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! CheckStatus(timer)
|
function! CheckStatus(timer)
|
||||||
if executable("default")
|
if executable("defaults")
|
||||||
let job = job_start(
|
let job = job_start(
|
||||||
\ ["default", "read", "-g", "AppleInterfaceStyle"],
|
\ ["defaults", "read", "-g", "AppleInterfaceStyle"],
|
||||||
\ {"out_cb": "ChangeColorScheme"}
|
\ {"out_cb": "ChangeColorScheme"}
|
||||||
\ )
|
\ )
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user