summaryrefslogtreecommitdiff
path: root/doc/en/autogen
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-11-05 22:21:03 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-11-05 22:21:03 +0100
commit6cdcebed8cd553d36f4b6b38dd4df09db248292f (patch)
treeb6af90e60bb13f388ea3eae84c8e54554ed02e38 /doc/en/autogen
parent5d338fee4ea7b525806bc209968df83321e92ebf (diff)
downloadweechat-6cdcebed8cd553d36f4b6b38dd4df09db248292f.zip
buflist: add variable ${number2}, always set with the indented buffer number
Diffstat (limited to 'doc/en/autogen')
-rw-r--r--doc/en/autogen/user/buflist_commands.adoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/en/autogen/user/buflist_commands.adoc b/doc/en/autogen/user/buflist_commands.adoc
index d53477ff8..effe55abe 100644
--- a/doc/en/autogen/user/buflist_commands.adoc
+++ b/doc/en/autogen/user/buflist_commands.adoc
@@ -33,7 +33,8 @@ The following variables can be used in these options:
- ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...}
- ${merged}: a boolean ("0" or "1"), "1" if the buffer is merged with at least another buffer; it can be used in a condition: ${if:${merged}?...:...}
- ${format_number}: indented number with separator (evaluation of option buflist.format.number)
- - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers
+ - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers; for merged buffers, this variable is set with number for the first buffer and spaces for the next buffers with same number
+ - ${number2}: indented number, for example " 1" if there are between 10 and 99 buffers
- ${number_displayed}: "1" if the number is displayed, otherwise "0"
- ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent)
- ${format_nick_prefix}: colored nick prefix for a channel (evaluation of option buflist.format.nick_prefix)