1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

buflist: mention variables available for option buflist.look.display_conditions in its help and in /help buflist (closes #1393)

This commit is contained in:
Sébastien Helleu
2019-08-17 08:16:08 +02:00
parent 05744f3b61
commit 39e5b0574c
27 changed files with 353 additions and 173 deletions
+7 -1
View File
@@ -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:
+1 -1
View File
@@ -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"+`