diff options
author | Teddy Wing | 2023-12-08 22:07:20 +0100 |
---|---|---|
committer | Teddy Wing | 2023-12-09 00:20:40 +0100 |
commit | d30df22ff2c949d4b6445b0f4a091d8005301656 (patch) | |
tree | e81e1de870f595325eabd3b91ce02df53e9be972 | |
parent | 7c18c103fb5ab16abcd834e7a60bbd55ecc44e09 (diff) | |
download | dotvim-d30df22ff2c949d4b6445b0f4a091d8005301656.tar.bz2 |
colors/twilight256.vim: Increase contrast of diff background colours
Change the diff background colours from their defaults to make the text
in the foreground easier to read.
-rw-r--r-- | colors/twilight256.vim | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/colors/twilight256.vim b/colors/twilight256.vim index 0d5d58b..83e7114 100644 --- a/colors/twilight256.vim +++ b/colors/twilight256.vim @@ -37,6 +37,11 @@ " * Use a lighter grey for comments to increase contrast and make text " easier to read. " +" 2023.12.08: +" * Use darker background colours for DiffAdd, DiffChange, and DiffText to +" increase contrast and reduce vibration relative to the foreground +" text. This makes the text with diff highlighting easier to read. +" set background=dark if version > 580 @@ -269,10 +274,10 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256 "call <SID>X("Cursor", "708090", "f0e68c", "") "CursorIM "Directory - "DiffAdd - "DiffChange + highlight DiffAdd term=bold ctermbg=17 guibg=DarkBlue + highlight DiffChange term=bold ctermbg=53 guibg=DarkMagenta "DiffDelete - "DiffText + highlight DiffText term=reverse cterm=bold ctermbg=1 gui=bold guibg=Red "ErrorMsg "call <SID>X("VertSplit", "c2bfa5", "7f7f7f", "reverse") "call <SID>X("Folded", "ffd700", "4d4d4d", "") |