summaryrefslogtreecommitdiff
path: root/doc/en/autogen
diff options
context:
space:
mode:
Diffstat (limited to 'doc/en/autogen')
-rw-r--r--doc/en/autogen/plugin_api/completions.txt4
-rw-r--r--doc/en/autogen/user/weechat_commands.txt20
-rw-r--r--doc/en/autogen/user/weechat_options.txt2
3 files changed, 12 insertions, 14 deletions
diff --git a/doc/en/autogen/plugin_api/completions.txt b/doc/en/autogen/plugin_api/completions.txt
index f3ddecb50..c33587bfe 100644
--- a/doc/en/autogen/plugin_api/completions.txt
+++ b/doc/en/autogen/plugin_api/completions.txt
@@ -70,8 +70,6 @@
| weechat | buffers_plugins_names | names of buffers (including plugins names)
-| weechat | color_pairs | color pairs
-
| weechat | commands | commands (weechat and plugins)
| weechat | config_files | configuration files
@@ -94,6 +92,8 @@
| weechat | nicks | nicks in nicklist of current buffer
+| weechat | palette_colors | palette colors
+
| weechat | plugins_commands | commands defined by plugins
| weechat | plugins_names | names of plugins
diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt
index 479ce4531..033e09429 100644
--- a/doc/en/autogen/user/weechat_commands.txt
+++ b/doc/en/autogen/user/weechat_commands.txt
@@ -99,25 +99,22 @@
/buffer +1
........................................
-• *`/color`* `[add pair [alias] [fg,bg]] | [del pair] | switch`::
+• *`/color`* `[add color alias] | [del color] | reset`::
........................................
- define custom colors and display palette of colors
+ define color aliases and display palette of colors
- add: add a color pair
- del: delete a color pair
- switch: switch WeeChat/terminal colors
- pair: pair number (>= 1)
+ add: add an alias for a color
+ del: delete an alias
+ color: color number (>= 1, max depends on terminal, commonly 63 or 255)
alias: alias name for color (for example: "orange")
- fg,bg: foreground and background pair number (-1 for default terminal foreground or background)
+ reset: reset all color pairs (useful when no more pairs are available)
Without argument, this command displays colors in a new buffer.
Examples:
- add color 214 with alias "orange":
+ add alias "orange" for color 214:
/color add 214 orange
- add color 250 with orange on blue:
- /color add 250 214,4 orange_blue
delete color 214:
/color del 214
........................................
@@ -131,7 +128,7 @@
command: command to execute (a '/' is automatically added if not found at beginning of command)
........................................
-• *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term]`::
+• *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term | color]`::
........................................
control debug for core/plugins
@@ -143,6 +140,7 @@
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
term: display infos about terminal and available colors
+ color: display infos about current color pairs
........................................
• *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::
diff --git a/doc/en/autogen/user/weechat_options.txt b/doc/en/autogen/user/weechat_options.txt
index 29cc76be6..b108d28e0 100644
--- a/doc/en/autogen/user/weechat_options.txt
+++ b/doc/en/autogen/user/weechat_options.txt
@@ -49,7 +49,7 @@
** values: a color name (default value: `lightcyan`)
* *weechat.color.chat_nick_colors*
-** description: `text color for nicks (comma separated list of colors)`
+** description: `text color for nicks (comma separated list of colors, background is allowed with format: "fg/bg", for example: "blue/red")`
** type: string
** values: any string (default value: `"cyan,magenta,green,brown,lightblue,default,lightcyan,lightmagenta,lightgreen,blue"`)