aboutsummaryrefslogtreecommitdiff
path: root/vim/doc/detect_background.txt
blob: ad42221cb80105cbc08c939081f304a49edb8724 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
*detect_background.txt*  Figure out 'background' with a bias towards "dark"

Author:  Tom Ryder <tom@sanctum.geek.nz>
License: Same terms as Vim itself (see |license|)

This plugin inspects the $COLORFGBG environment variable to determine whether
the user is using a terminal with a light background. It reverses Vim's
built-in attempts to do this, which have the opposite default.

It does not inspect the value of the $TERM variable or |'term'| at all.

This plugin lives in Tom Ryder's "dotfiles" suite, and will eventually be spun
off into a separate distribution as it solidifies and this documentation
improves.