summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim.nix6
1 files changed, 5 insertions, 1 deletions
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 <Esc>
set mouse=a
""
+ "" https://github.com/lifepillar/vim-solarized8#troubleshooting
+ "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
@@ -47,6 +51,6 @@ in
set background=dark
endif
let g:solarized_termcolors=256
- colorscheme solarized
+ colorscheme solarized8
'';
}