diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-03-29 20:00:36 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-03-29 20:00:36 +0200 |
commit | 0436fff31b5ef7814391dd1a666cccfaa0f2ff67 (patch) | |
tree | b35d434bf752b033a4c277a46af63db70902d77f /doc/en | |
parent | 454a4b14b28a476cf274ed894275e63093a4a053 (diff) | |
download | weechat-0436fff31b5ef7814391dd1a666cccfaa0f2ff67.zip |
buflist: add option buflist.format.number
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/autogen/user/buflist_commands.adoc | 1 | ||||
-rw-r--r-- | doc/en/autogen/user/buflist_options.adoc | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/en/autogen/user/buflist_commands.adoc b/doc/en/autogen/user/buflist_commands.adoc index 4a6950c93..ffea9f6c0 100644 --- a/doc/en/autogen/user/buflist_commands.adoc +++ b/doc/en/autogen/user/buflist_commands.adoc @@ -24,6 +24,7 @@ The following variables can be used in these options: - ${buffer.nicklist_nicks_count} - extra variables added by buflist for convenience: - ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example + - ${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 - ${indent}: indentation for name (channel and private buffers are indented) - ${name}: the short name (if set), with a fallback on the name diff --git a/doc/en/autogen/user/buflist_options.adoc b/doc/en/autogen/user/buflist_options.adoc index 6e42890df..d7e811b78 100644 --- a/doc/en/autogen/user/buflist_options.adoc +++ b/doc/en/autogen/user/buflist_options.adoc @@ -6,13 +6,13 @@ ** description: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)] ** type: string ** values: any string -** default value: `+"${color:green}${number}.${indent}${color_hotlist}${name}"+` +** default value: `+"${format_number}${indent}${color_hotlist}${name}"+` * [[option_buflist.format.buffer_current]] *buflist.format.buffer_current* ** description: pass:none[format for the line with current buffer (note: content is evaluated, see /help buflist)] ** type: string ** values: any string -** default value: `+"${color:lightgreen,blue}${number}.${indent}${color_hotlist}${name}"+` +** default value: `+"${color:lightgreen,blue}${format_buffer}"+` * [[option_buflist.format.hotlist]] *buflist.format.hotlist* ** description: pass:none[format for hotlist (note: content is evaluated, see /help buflist)] @@ -62,6 +62,12 @@ ** values: any string ** default value: `+" ${color:green}[${color:brown}${lag}${color:green}]"+` +* [[option_buflist.format.number]] *buflist.format.number* +** description: pass:none[format for buffer number, ${number} is the indented number (note: content is evaluated, see /help buflist)] +** type: string +** values: any string +** default value: `+"${color:green}${number}${if:${number_displayed}?.: }"+` + * [[option_buflist.look.display_conditions]] *buflist.look.display_conditions* ** description: pass:none[conditions to display a buffer (note: content is evaluated, see /help buflist)] ** type: string |