mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 10:13:12 +02:00
fset: add ${file}, ${section}, ${option}, add color options
This commit is contained in:
@@ -514,10 +514,11 @@ fset_command_init ()
|
||||
" =xxx show only options with \"xxx\" in value\n"
|
||||
" ==xxx show only options with exact value \"xxx\"\n"
|
||||
" c:xxx show only options matching the evaluated "
|
||||
"condition \"xxx\", using following variables: name, parent_name, "
|
||||
"type (bool/int/str/col), default_value, default_value_undef, "
|
||||
"value, value_undef, value_changed, parent_value, min, max, "
|
||||
"description, description_en, string_values\n"
|
||||
"condition \"xxx\", using following variables: file, section, "
|
||||
"option, name, parent_name, type (bool/int/str/col), "
|
||||
"default_value, default_value_undef, value, value_undef, "
|
||||
"value_changed, parent_value, min, max, description, "
|
||||
"description_en, string_values\n"
|
||||
" s:x,y sort options by fields x,y "
|
||||
"(see /help fset.look.sort)\n"
|
||||
" s: reset sort to its default value "
|
||||
@@ -531,7 +532,11 @@ fset_command_init ()
|
||||
"\n"
|
||||
"The following variables can be used in these options:\n"
|
||||
" - option data, with color and padded by spaces on the right:\n"
|
||||
" - ${name}: option name\n"
|
||||
" - ${file}: configuration file (for example \"weechat\" or "
|
||||
"\"irc\")\n"
|
||||
" - ${section}: section\n"
|
||||
" - ${option}: option name\n"
|
||||
" - ${name}: full option name (file.section.option)\n"
|
||||
" - ${parent_name}: parent option name\n"
|
||||
" - ${type}: option type (translated)\n"
|
||||
" - ${type_en}: option type (in English)\n"
|
||||
@@ -586,7 +591,7 @@ fset_command_init ()
|
||||
" show all values which contain \"red\":\n"
|
||||
" /fset =red\n"
|
||||
" show all integer options in irc plugin:\n"
|
||||
" /fset c:${name} =~ ^irc.* && ${type} == int"),
|
||||
" /fset c:${file} == irc && ${type} == int"),
|
||||
"-bar"
|
||||
" || -toggle_bar"
|
||||
" || -refresh"
|
||||
|
||||
Reference in New Issue
Block a user