summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-04-06 20:49:17 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-04-06 20:49:17 +0200
commitfdd39c6b97683ad6cdb009e2518baa5d2fc9b16b (patch)
treefa8bb7af30ceb3861b47ee231ce2bf6f54657009 /doc/en
parenta072d769fd212f965dd8760168c04f5e2c113a9d (diff)
downloadweechat-fdd39c6b97683ad6cdb009e2518baa5d2fc9b16b.zip
buflist: evaluate option buflist.look.sort (closes #1465)
The evaluation allows to use different sort for the bar items, for example with such value: ${if:${bar_item.name}==buflist?number:short_name} This sorts by number on the first bar item and by short name on the two other bar items.
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/autogen/user/buflist_options.adoc2
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 a28f958e9..ce4f8c0d4 100644
--- a/doc/en/autogen/user/buflist_options.adoc
+++ b/doc/en/autogen/user/buflist_options.adoc
@@ -147,7 +147,7 @@
** default value: `+""+`
* [[option_buflist.look.sort]] *buflist.look.sort*
-** description: pass:none[comma-separated list of fields to sort buffers; each field is a hdata variable of buffer ("var"), a hdata variable of IRC server ("irc_server.var") or a hdata variable of IRC channel ("irc_channel.var"); char "-" can be used before field to reverse order, char "~" can be used to do a case insensitive comparison; example: "-~short_name" for case insensitive and reverse sort on buffer short name]
+** description: pass:none[comma-separated list of fields to sort buffers; each field is a hdata variable of buffer ("var"), a hdata variable of IRC server ("irc_server.var") or a hdata variable of IRC channel ("irc_channel.var"); char "-" can be used before field to reverse order, char "~" can be used to do a case insensitive comparison; example: "-~short_name" for case insensitive and reverse sort on buffer short name (note: content is evaluated, only the pointer to bar_item can be used, for example "bar_item.name")]
** type: string
** values: any string
** default value: `+"number,-active"+`