summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Allen <screwtape@froup.com>2019-12-14 23:18:34 +1100
committerTim Allen <screwtape@froup.com>2019-12-15 13:36:25 +1100
commitb09653ccc50c8e83dbd7a789e4a264cbceb4be6d (patch)
tree9134bfb9099fdcbd85be75c37e5c83df77a1a11d /doc
parentdfc67dd5826a24d13dca25426dee4bdfaceadc3e (diff)
highlighters.cc: Add a '-min-digits' flag to the number-lines highlighter.
Fixes #3260.
Diffstat (limited to 'doc')
-rw-r--r--doc/pages/highlighters.asciidoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/pages/highlighters.asciidoc b/doc/pages/highlighters.asciidoc
index 3eae3bb9..fd95b49f 100644
--- a/doc/pages/highlighters.asciidoc
+++ b/doc/pages/highlighters.asciidoc
@@ -62,6 +62,11 @@ from the remaining parameters.
specify a string to separate the line numbers column with
the rest of the buffer (default is '|')
+ *-min-digits* <num>:::
+ always reserve room for at least *num* digits,
+ so text doesn't jump around as lines are added or removed
+ (default is 2)
+
*wrap* [options]::
soft wrap buffer text at window width, with the following *options*: