diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-08-17 08:16:08 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-08-17 08:17:11 +0200 |
commit | 39e5b0574cff8ade50ff6ec95feda57b1c331b4e (patch) | |
tree | 33f06c631c8cd33b517985db340e32763a386aa7 /doc/it/autogen | |
parent | 05744f3b61ef3346f79d41551c470e8d09033ce8 (diff) | |
download | weechat-39e5b0574cff8ade50ff6ec95feda57b1c331b4e.zip |
buflist: mention variables available for option buflist.look.display_conditions in its help and in /help buflist (closes #1393)
Diffstat (limited to 'doc/it/autogen')
-rw-r--r-- | doc/it/autogen/user/buflist_commands.adoc | 8 | ||||
-rw-r--r-- | doc/it/autogen/user/buflist_options.adoc | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/it/autogen/user/buflist_commands.adoc b/doc/it/autogen/user/buflist_commands.adoc index effe55abe..6d2392043 100644 --- a/doc/it/autogen/user/buflist_commands.adoc +++ b/doc/it/autogen/user/buflist_commands.adoc @@ -17,7 +17,13 @@ The lines with buffers are displayed using string evaluation (see /help eval for - buflist.format.buffer: format for a buffer which is not current buffer - buflist.format.buffer_current: format for the current buffer -The following variables can be used in these options: +The following variables can be used in the option "buflist.look.display_conditions" (see below for the description): + - bar_item + - buffer + - irc_server + - irc_channel + +The following variables can be used in the options "buflist.format.*": - bar item data (see hdata "bar_item" in API doc for a complete list), for example: - ${bar_item.name} - buffer data (see hdata "buffer" in API doc for a complete list), for example: diff --git a/doc/it/autogen/user/buflist_options.adoc b/doc/it/autogen/user/buflist_options.adoc index cbafd9b85..880197963 100644 --- a/doc/it/autogen/user/buflist_options.adoc +++ b/doc/it/autogen/user/buflist_options.adoc @@ -99,7 +99,7 @@ ** valore predefinito: `+50+` * [[option_buflist.look.display_conditions]] *buflist.look.display_conditions* -** descrizione: pass:none[conditions to display a buffer (note: content is evaluated, see /help buflist); for example to hide server buffers if they are merged with core buffer: "${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!=core.weechat) || ${buffer.active}==1)"] +** descrizione: pass:none[conditions to display a buffer (note: content is evaluated, see /help buflist); variables available are: bar_item, buffer, irc_server and irc_channel (see /help buflist for more information); for example to hide server buffers if they are merged with core buffer: "${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!=core.weechat) || ${buffer.active}==1)"] ** tipo: stringa ** valori: qualsiasi stringa ** valore predefinito: `+"${buffer.hidden}==0"+` |