From 98a75481a7ea1b32497e9c85682d7e62dc6de388 Mon Sep 17 00:00:00 2001 From: Matt Wozniski Date: Thu, 15 Jan 2009 14:08:20 -0500 Subject: [PATCH] Clarify some CSApprox docs --- doc/CSApprox.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/CSApprox.txt b/doc/CSApprox.txt index b5cdb49..a064653 100644 --- a/doc/CSApprox.txt +++ b/doc/CSApprox.txt @@ -117,7 +117,7 @@ however - see |csapprox-configuration|. *csapprox-terminal-example* To turn on high color support without fixing $TERM, you can put something like this into your |vimrc|: > - if &term == 'xterm' && $HOSTNAME == 'my-machine' + if &term == 'xterm' && hostname() == 'my-machine' " On my machine, I use Konsole with 256 color support set t_Co=256 let g:CSApprox_konsole = 1 @@ -230,8 +230,8 @@ g:CSApprox_hook_{scheme}_post *csapprox-hooks* modified. For example: *csapprox-transparency* > - let g:CSApprox_hook_post = ['hi Normal ctermbg=NONE', - \ 'hi NonText ctermbg=NONE' ] + let g:CSApprox_hook_post = ['hi Normal ctermbg=NONE ctermfg=NONE', + \ 'hi NonText ctermbg=NONE ctermfg=NONE' ] < Setting g:CSApprox_hook_post as shown above will clear the background of the Normal and NonText groups, forcing the terminal's default background @@ -252,8 +252,8 @@ g:CSApprox_hook_{scheme}_post *csapprox-hooks* clear the Normal and NonText groups, but only for the colorscheme "desert", one could do the following: > - let g:CSApprox_hook_desert_post = ['hi Normal ctermbg=NONE', - \ 'hi NonText ctermbg=NONE' ] + let g:CSApprox_hook_desert_post = ['hi Normal ctermbg=NONE ctermfg=NONE', + \ 'hi NonText ctermbg=NONE ctermfg=NONE' ] < NOTE: Any characters that would stop the string stored in g:colors_name from being a valid variable name will be removed before the