about summary refs log tree commit diff
path: root/pkgs/aszlig/vim/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2021-07-27 14:09:36 +0200
committeraszlig <aszlig@nix.build>2021-07-27 14:09:36 +0200
commitf30db66fe9b6c3e9faeac5ac8626292587344144 (patch)
treef0962c04ccb15a5fd06a79055076a415d8740cde /pkgs/aszlig/vim/default.nix
parent5a616c02b1b419eaeae0b608ec2a3c2398eec42f (diff)
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 <aszlig@nix.build>
Diffstat (limited to 'pkgs/aszlig/vim/default.nix')
-rw-r--r--pkgs/aszlig/vim/default.nix1
1 files changed, 1 insertions, 0 deletions
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
   '';