diff options
author | toonn <toonn@toonn.io> | 2019-05-19 17:02:28 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2019-05-19 17:02:28 +0200 |
commit | c5da4108e3ead93d0a425d6bcd5f645389229dc7 (patch) | |
tree | bc3758533d0d7144bab3c27052c179efabfe4a87 /doc/ranger.pod | |
parent | f67fd1bba726852b65c0fe422e7ef4cd9552b58f (diff) | |
download | ranger-c5da4108e3ead93d0a425d6bcd5f645389229dc7.tar.gz |
Give HIGHLIGHT_TABWIDTH some love
Same treatment as for `HIGHLIGHT_STYLE`. The default value can be overridden by either setting the environment variable or specifying `--replace-tabs=` in `HIGHLIGHT_OPTIONS`.
Diffstat (limited to 'doc/ranger.pod')
-rw-r--r-- | doc/ranger.pod | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod index f78e9bdd..1c87c675 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -1785,7 +1785,7 @@ Defines the terminal emulator command that ranger is going to use with the Specifies the theme to be used for syntax highlighting when I<pygmentize> is installed unless I<highlight> is also installed. Find out possible values by -running +running: python -c 'import pygments.styles; [print(stl) for stl in pygments.styles.get_all_styles()]' @@ -1794,10 +1794,15 @@ running Specifies the theme to be used for syntax highlighting when I<highlight> is installed. Find out possible values by running C<highlight --list-themes>. +=item HIGHLIGHT_TABWIDTH + +Specifies the number of spaces to use to replace tabs in I<highlight>ed files. + =item HIGHLIGHT_OPTIONS I<highlight> will pick up command line options specified in this variable. A -C<--style=> option specified here will override C<HIGHLIGHT_STYLE>. +C<--style=> option specified here will override C<HIGHLIGHT_STYLE>. Similarly, +C<--replace-tabs=> will override C<HIGHLIGHT_TABWIDTH>. =item XDG_CONFIG_HOME |