Clarify some CSApprox docs
This commit is contained in:
parent
450d37a373
commit
98a75481a7
@ -117,7 +117,7 @@ however - see |csapprox-configuration|.
|
|||||||
*csapprox-terminal-example*
|
*csapprox-terminal-example*
|
||||||
To turn on high color support without fixing $TERM, you can put something like
|
To turn on high color support without fixing $TERM, you can put something like
|
||||||
this into your |vimrc|: >
|
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
|
" On my machine, I use Konsole with 256 color support
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
let g:CSApprox_konsole = 1
|
let g:CSApprox_konsole = 1
|
||||||
@ -230,8 +230,8 @@ g:CSApprox_hook_{scheme}_post *csapprox-hooks*
|
|||||||
modified. For example:
|
modified. For example:
|
||||||
*csapprox-transparency*
|
*csapprox-transparency*
|
||||||
>
|
>
|
||||||
let g:CSApprox_hook_post = ['hi Normal ctermbg=NONE',
|
let g:CSApprox_hook_post = ['hi Normal ctermbg=NONE ctermfg=NONE',
|
||||||
\ 'hi NonText ctermbg=NONE' ]
|
\ 'hi NonText ctermbg=NONE ctermfg=NONE' ]
|
||||||
<
|
<
|
||||||
Setting g:CSApprox_hook_post as shown above will clear the background of
|
Setting g:CSApprox_hook_post as shown above will clear the background of
|
||||||
the Normal and NonText groups, forcing the terminal's default background
|
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
|
clear the Normal and NonText groups, but only for the colorscheme
|
||||||
"desert", one could do the following:
|
"desert", one could do the following:
|
||||||
>
|
>
|
||||||
let g:CSApprox_hook_desert_post = ['hi Normal ctermbg=NONE',
|
let g:CSApprox_hook_desert_post = ['hi Normal ctermbg=NONE ctermfg=NONE',
|
||||||
\ 'hi NonText ctermbg=NONE' ]
|
\ 'hi NonText ctermbg=NONE ctermfg=NONE' ]
|
||||||
<
|
<
|
||||||
NOTE: Any characters that would stop the string stored in g:colors_name
|
NOTE: Any characters that would stop the string stored in g:colors_name
|
||||||
from being a valid variable name will be removed before the
|
from being a valid variable name will be removed before the
|
||||||
|
Loading…
Reference in New Issue
Block a user