diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-05-19 14:47:59 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-05-19 14:47:59 +0200 |
commit | 0f8485f54e24d5ae152b4c1bd102ad14ca23d3c6 (patch) | |
tree | c013c593015e8b12427a27ccdaff083ed9bdc45f /doc/en/autogen/user/buflist_options.adoc | |
parent | 60254ff48d05e4678c51b89ba6b601fe48d9e285 (diff) | |
download | weechat-0f8485f54e24d5ae152b4c1bd102ad14ca23d3c6.zip |
buflist: add example of format for two bar items using a ternary operator in /help buflist.format.buffer
Diffstat (limited to 'doc/en/autogen/user/buflist_options.adoc')
-rw-r--r-- | doc/en/autogen/user/buflist_options.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/en/autogen/user/buflist_options.adoc b/doc/en/autogen/user/buflist_options.adoc index 18a099098..a28f958e9 100644 --- a/doc/en/autogen/user/buflist_options.adoc +++ b/doc/en/autogen/user/buflist_options.adoc @@ -3,7 +3,7 @@ // DO NOT EDIT BY HAND! // * [[option_buflist.format.buffer]] *buflist.format.buffer* -** description: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)] +** description: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist); example: standard format for bar item "buflist" and only the buffer number between square brackets for other bar items ("buflist2" and "buflist3"): "${if:${bar_item.name}==buflist?${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:[${number}\]}"] ** type: string ** values: any string ** default value: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+` |