summaryrefslogtreecommitdiff
path: root/doc/it/autogen/user
diff options
context:
space:
mode:
Diffstat (limited to 'doc/it/autogen/user')
-rw-r--r--doc/it/autogen/user/buflist_commands.adoc1
-rw-r--r--doc/it/autogen/user/buflist_options.adoc18
2 files changed, 16 insertions, 3 deletions
diff --git a/doc/it/autogen/user/buflist_commands.adoc b/doc/it/autogen/user/buflist_commands.adoc
index ffea9f6c0..ca80e8765 100644
--- a/doc/it/autogen/user/buflist_commands.adoc
+++ b/doc/it/autogen/user/buflist_commands.adoc
@@ -27,6 +27,7 @@ The following variables can be used in these options:
- ${format_number}: indented number with separator (evaluation of option buflist.format.number)
- ${number}: indented number, for example " 1" if there are between 10 and 99 buffers
- ${indent}: indentation for name (channel and private buffers are indented)
+ - ${nick_prefix}: nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
- ${name}: the short name (if set), with a fallback on the name
- ${color_hotlist}: the color depending on the highest hotlist level for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the level)
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
diff --git a/doc/it/autogen/user/buflist_options.adoc b/doc/it/autogen/user/buflist_options.adoc
index 3f899a67a..30db597ec 100644
--- a/doc/it/autogen/user/buflist_options.adoc
+++ b/doc/it/autogen/user/buflist_options.adoc
@@ -6,7 +6,7 @@
** descrizione: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)]
** tipo: stringa
** valori: qualsiasi stringa
-** valore predefinito: `+"${format_number}${indent}${color_hotlist}${name}"+`
+** valore predefinito: `+"${format_number}${indent}${nick_prefix}${color_hotlist}${name}"+`
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
** descrizione: pass:none[format for the line with current buffer (note: content is evaluated, see /help buflist)]
@@ -92,11 +92,23 @@
** valori: on, off
** valore predefinito: `+on+`
+* [[option_buflist.look.nick_prefix]] *buflist.look.nick_prefix*
+** descrizione: pass:none[get the nick prefix and its color from nicklist so that ${nick_prefix} can be used in format; this can be slow on buffers with lot of nicks in nicklist, so this option is disabled by default]
+** tipo: bool
+** valori: on, off
+** valore predefinito: `+off+`
+
+* [[option_buflist.look.nick_prefix_empty]] *buflist.look.nick_prefix_empty*
+** descrizione: pass:none[when the nick prefix is enabled, display a space instead if there is no nick prefix on the buffer]
+** tipo: bool
+** valori: on, off
+** valore predefinito: `+on+`
+
* [[option_buflist.look.signals_refresh]] *buflist.look.signals_refresh*
-** descrizione: pass:none[comma-separated list of signals that are hooked and trigger the refresh of buffers list]
+** descrizione: pass:none[comma-separated list of extra signals that are hooked and trigger the refresh of buffers list; this can be useful if some custom variables are used in formats and need specific refresh]
** tipo: stringa
** valori: qualsiasi stringa
-** valore predefinito: `+"buffer_opened,buffer_closed,buffer_merged,buffer_unmerged,buffer_moved,buffer_renamed,buffer_switch,buffer_hidden,buffer_unhidden,buffer_localvar_added,buffer_localvar_changed,window_switch,hotlist_changed"+`
+** valore predefinito: `+""+`
* [[option_buflist.look.sort]] *buflist.look.sort*
** descrizione: pass:none[comma-separated list of fields to sort buffers; each field is a hdata variable of buffer; char "-" can be used before field to reverse order]