The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Synopsis:

set highlight [reset | plain | lightbg | darkbg | off]

Set whether we use terminal highlighting; Permissable values are:

plain

no terminal highlighting

off

same as plain

lightbg

terminal background is light; this is the default

darkbg

terminal background is dark or light foreground text

If the first argument is reset, we clear any existing color formatting and recolor all source code output.

Examples:

set highlight off     # no highlight
set highlight plain   # same as above
set highlight darkbg  # terminal has dark background
set highlight lightbg # terminal has light background
set highlight         # same as above
set highlight reset lightbg # clear source-code cache and
                          # set for light background
set highlight reset # clear source-code cache

See also:

show highlight