mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36: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:
@@ -83,9 +83,18 @@ buflist_command_init ()
|
||||
"current buffer\n"
|
||||
" - buflist.format.buffer_current: format for the current buffer\n"
|
||||
"\n"
|
||||
"The following variables can be used in these options:\n"
|
||||
" - bar item data (see hdata \"bar_item\" in API doc for a complete "
|
||||
"list), for example:\n"
|
||||
"The following variables can be used in the option "
|
||||
"\"buflist.look.display_conditions\" (see below for the "
|
||||
"description):\n"
|
||||
" - bar_item\n"
|
||||
" - buffer\n"
|
||||
" - irc_server\n"
|
||||
" - irc_channel\n"
|
||||
"\n"
|
||||
"The following variables can be used in the options "
|
||||
"\"buflist.format.*\":\n"
|
||||
" - bar item data (see hdata \"bar_item\" in API doc for a "
|
||||
"complete list), for example:\n"
|
||||
" - ${bar_item.name}\n"
|
||||
" - buffer data (see hdata \"buffer\" in API doc for a complete "
|
||||
"list), for example:\n"
|
||||
|
||||
@@ -440,7 +440,9 @@ buflist_config_init ()
|
||||
buflist_config_file, ptr_section,
|
||||
"display_conditions", "string",
|
||||
N_("conditions to display a buffer "
|
||||
"(note: content is evaluated, see /help buflist); for example "
|
||||
"(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)\""),
|
||||
|
||||
Reference in New Issue
Block a user