summaryrefslogtreecommitdiff
path: root/vim.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-06-13 21:20:33 -0700
committerBen Sima <ben@bsima.me>2018-06-13 21:20:33 -0700
commitbd2ee54a2939549768b10cdd59ee36d39e8117b6 (patch)
tree0b71cae82ab2309d1febb5be2585338ff6846822 /vim.nix
parente64069598202953801dae80f80a0bf8c4bf73d18 (diff)
Only use light solarized in vim
Diffstat (limited to 'vim.nix')
-rw-r--r--vim.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/vim.nix b/vim.nix
index b72c942..2c39fa1 100644
--- a/vim.nix
+++ b/vim.nix
@@ -44,13 +44,7 @@ in
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
set termguicolors
- "" Auto-switch theme
- let hour = strftime("%H")
- if 6 <= hour && hour < 18
- set background=light
- else
- set background=dark
- endif
+ set background=light
let g:solarized_termcolors=256
colorscheme solarized8
'';