From f30db66fe9b6c3e9faeac5ac8626292587344144 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 27 Jul 2021 14:09:36 +0200 Subject: pkgs/vim: Fix color for LightBlue in color scheme If we use 256 color mode in XTerm, using LightBlue in Vim results in 0x5fd7ff but LightBlue in GUI mode will use 0xadd8e6 which has a low contrast to the default color (0xbebebe). Since my eyes are not getting better with age, I decided to go with the old color code that provides better contrast even though I'm quite happy with the rest of the "more nuanced" colors. Signed-off-by: aszlig --- pkgs/aszlig/vim/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/aszlig/vim') diff --git a/pkgs/aszlig/vim/default.nix b/pkgs/aszlig/vim/default.nix index 8d97787a..435d8946 100644 --- a/pkgs/aszlig/vim/default.nix +++ b/pkgs/aszlig/vim/default.nix @@ -686,6 +686,7 @@ in lib.overrideDerivation vim (drv: { sed -i -e ' /^hi Normal/c hi Normal guifg=#bebebe guibg=black s/ctermfg=\([^ ]*\)\(.*guifg=\)[^ ]*/ctermfg=\1\2\1/ + s/guifg=LightBlue\>/guifg=#5fd7ff/g ' runtime/colors/elflord.vim ''; -- cgit 1.4.1