From 77ab26d4c4575a5d0d7dafe55b24c21887d19e67 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 7 Jun 2018 07:58:51 -0700 Subject: Colorscheme fixes --- vim.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'vim.nix') diff --git a/vim.nix b/vim.nix index 311300b..f458165 100644 --- a/vim.nix +++ b/vim.nix @@ -39,6 +39,10 @@ in imap fd set mouse=a "" + "" https://github.com/lifepillar/vim-solarized8#troubleshooting + "let &t_8f = "\[38;2;%lu;%lu;%lum" + "let &t_8b = "\[48;2;%lu;%lu;%lum" + set termguicolors "" Auto-switch theme let hour = strftime("%H") if 6 <= hour && hour < 18 @@ -47,6 +51,6 @@ in set background=dark endif let g:solarized_termcolors=256 - colorscheme solarized + colorscheme solarized8 ''; } -- cgit v1.2.3