summary refs log tree commit diff stats
path: root/doc/ranger.1
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-05-19 17:02:28 +0200
committertoonn <toonn@toonn.io>2019-05-19 17:02:28 +0200
commitc5da4108e3ead93d0a425d6bcd5f645389229dc7 (patch)
treebc3758533d0d7144bab3c27052c179efabfe4a87 /doc/ranger.1
parentf67fd1bba726852b65c0fe422e7ef4cd9552b58f (diff)
downloadranger-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.1')
-rw-r--r--doc/ranger.18
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index afd8641a..b251edbe 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -1638,17 +1638,21 @@ Defines the terminal emulator command that ranger is going to use with the
 .IX Item "PYGMENTIZE_STYLE"
 Specifies the theme to be used for syntax highlighting when \fIpygmentize\fR is
 installed unless \fIhighlight\fR is also installed. Find out possible values by
-running
+running:
  python \-c 'import pygments.styles; [print(stl) for stl in
  pygments.styles.\fBget_all_styles()\fR]'
 .IP "\s-1HIGHLIGHT_STYLE\s0" 8
 .IX Item "HIGHLIGHT_STYLE"
 Specifies the theme to be used for syntax highlighting when \fIhighlight\fR is
 installed. Find out possible values by running \f(CW\*(C`highlight \-\-list\-themes\*(C'\fR.
+.IP "\s-1HIGHLIGHT_TABWIDTH\s0" 8
+.IX Item "HIGHLIGHT_TABWIDTH"
+Specifies the number of spaces to use to replace tabs in \fIhighlight\fRed files.
 .IP "\s-1HIGHLIGHT_OPTIONS\s0" 8
 .IX Item "HIGHLIGHT_OPTIONS"
 \&\fIhighlight\fR will pick up command line options specified in this variable. A
-\&\f(CW\*(C`\-\-style=\*(C'\fR option specified here will override \f(CW\*(C`HIGHLIGHT_STYLE\*(C'\fR.
+\&\f(CW\*(C`\-\-style=\*(C'\fR option specified here will override \f(CW\*(C`HIGHLIGHT_STYLE\*(C'\fR. Similarly,
+\&\f(CW\*(C`\-\-replace\-tabs=\*(C'\fR will override \f(CW\*(C`HIGHLIGHT_TABWIDTH\*(C'\fR..
 .IP "\s-1XDG_CONFIG_HOME\s0" 8
 .IX Item "XDG_CONFIG_HOME"
 Specifies the directory for configuration files. Defaults to \fI\f(CI$HOME\fI/.config\fR.