changeset 665:f93d4ac50080

[vimrc] Put back color for special (trailing) characters because otherwise it's invisible
author nanaya <me@nanaya.pro>
date Fri, 10 Dec 2021 21:10:20 +0900
parents 5e62619207a8
children f5e12f656c03
files rc/vimrc
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rc/vimrc	Fri Dec 10 20:38:53 2021 +0900
+++ b/rc/vimrc	Fri Dec 10 21:10:20 2021 +0900
@@ -30,6 +30,10 @@
 
 set list listchars=tab:>-,trail:.,extends:>,nbsp:?
 
+if has("autocmd")
+  autocmd colorscheme * highlight specialkey ctermfg=gray
+endif
+
 set number
 
 " http://stackoverflow.com/questions/14635295/vim-takes-a-very-long-time-to-start-up