1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

fset: add variable allowed_values in options, add two color options

New options:

- fset.color.allowed_values
- fset.color.allowed_values_selected
This commit is contained in:
Sébastien Helleu
2023-07-08 16:50:42 +02:00
parent 4c0c7d9adc
commit 1d5433485c
23 changed files with 360 additions and 88 deletions
+2 -1
View File
@@ -697,7 +697,7 @@ fset_command_init ()
"(bool/int/str/col/enum), type_tiny (b/i/s/c/e), default_value, "
"default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"description_en, description_en2, string_values, allowed_values\n"
"\n"
"The lines with options are displayed using string evaluation "
"(see /help eval for the format), with these options:\n"
@@ -735,6 +735,7 @@ fset_command_init ()
"\"(no description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum "
"option\n"
" - ${allowed_values}: allowed values\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"