From a25be53a51c2097e59cfa19678f013c23ff6bced Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Fri, 6 Mar 2020 15:00:19 +1000 Subject: [PATCH] Switch dark/light colour Due to issue with Termonad Solarized colour scheme --- roles/vim.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/roles/vim.nix b/roles/vim.nix index 4ffb343..ffe8ac6 100644 --- a/roles/vim.nix +++ b/roles/vim.nix @@ -37,16 +37,17 @@ vim_configurable.customize { autocmd FilterWritePre * :call TrimWhiteSpace() autocmd BufWritePre * :call TrimWhiteSpace() + " FIXME: Currently always set to dark due to issues with Termonad Solarized theme " Light during the day, dark during the night let hour = strftime("%H") if 7 <= hour && hour < 17 - "set background=light - "hi Normal ctermbg=none " Set a transparent background - "let g:airline_solarized_bg='light' " Set the airline background + set background=dark + "hi Normal ctermbg=none " Set a transparent background + let g:airline_solarized_bg='dark' " Set the airline background else - "set background=dark - "hi Normal ctermbg=none " Set a transparent background - "let g:airline_solarized_bg='dark' " Set the airline background + set background=dark + "hi Normal ctermbg=none " Set a transparent background + let g:airline_solarized_bg='dark' " Set the airline background endif " Transparent editing of gpg encrypted files.