aboutsummaryrefslogtreecommitdiffstats
path: root/colors/twilight256.vim
diff options
context:
space:
mode:
authorTeddy Wing2020-06-12 22:06:48 +0200
committerTeddy Wing2020-06-13 20:49:31 +0200
commit45525743771e357a7eec814a737df459649f7e8b (patch)
tree6f20e4f03a694ee2fe3020811c102769c1229b4c /colors/twilight256.vim
parent692ec322601cdc6ca8b241bb0ba5ad69a62a57ec (diff)
downloaddotvim-45525743771e357a7eec814a737df459649f7e8b.tar.bz2
colors/twilight256.vim: Highlight comments in a lighter grey colour
I've been having some trouble reading comments, as the grey is rather low contrast. To improve readability, change the highlight colour to a lighter grey, increasing contrast.
Diffstat (limited to 'colors/twilight256.vim')
-rw-r--r--colors/twilight256.vim9
1 files changed, 8 insertions, 1 deletions
diff --git a/colors/twilight256.vim b/colors/twilight256.vim
index 30cab97..0d5d58b 100644
--- a/colors/twilight256.vim
+++ b/colors/twilight256.vim
@@ -33,6 +33,10 @@
" * Set "CursorLineNr" to remove the underline. This appeared after
" upgrading to Vim 8.2.
"
+" 2020.06.03:
+" * Use a lighter grey for comments to increase contrast and make text
+" easier to read.
+"
set background=dark
if version > 580
@@ -303,7 +307,10 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256
hi CursorLineNr cterm=none
" syntax highlighting groups
- call <SID>X("Comment", "828282", "", "")
+
+ " Added 2020.06.03
+ hi Comment ctermfg=7
+
call <SID>X("NonText", "828282", "", "")
call <SID>X("SpecialKey", "828282", "", "")
call <SID>X("Constant", "CF6A4C", "", "")