summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-02-17 12:52:07 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-02-17 13:09:20 +0100
commit9b9e0f042c4ec727a5aa605aadb8441523abfc38 (patch)
treebc12946bcd2190dc083b180b005c1d8e0abdfd80
parent831dcac808800bfcc38fbde698c57181bbe0e039 (diff)
downloadweechat-9b9e0f042c4ec727a5aa605aadb8441523abfc38.zip
core: replace "xxx" by "string" and "number" by "N" in /eval completions
-rw-r--r--src/core/wee-completion.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/core/wee-completion.c b/src/core/wee-completion.c
index a2c89a844..5e19cbf06 100644
--- a/src/core/wee-completion.c
+++ b/src/core/wee-completion.c
@@ -2109,12 +2109,12 @@ completion_list_add_eval_variables_cb (const void *pointer, void *data,
struct t_gui_completion *completion)
{
char *eval_variables[] = {
- "${\\xxx}",
- "${base_decode:base,xxx}",
- "${base_encode:base,xxx}",
- "${calc:xxx}",
+ "${\\string}",
+ "${base_decode:base,string}",
+ "${base_encode:base,string}",
+ "${calc:expression}",
"${chars:range}",
- "${color:xxx}",
+ "${color:name}",
"${cut:+max,suffix,string}",
"${cut:max,suffix,string}",
"${cutscr:+max,suffix,string}",
@@ -2122,10 +2122,10 @@ completion_list_add_eval_variables_cb (const void *pointer, void *data,
"${date:format}",
"${date}",
"${define:name,value}",
- "${env:XXX}",
- "${esc:xxx}",
- "${eval:xxx}",
- "${eval_cond:xxx}",
+ "${env:NAME}",
+ "${esc:string}",
+ "${eval:string}",
+ "${eval_cond:string}",
"${file.section.option}",
"${hdata.var1.var2}",
"${hdata[list].var1.var2}",
@@ -2134,26 +2134,26 @@ completion_list_add_eval_variables_cb (const void *pointer, void *data,
"${hide:char,string}",
"${if:condition?value_if_true:value_if_false}",
"${info:name,arguments}",
- "${length:xxx}",
- "${lengthscr:xxx}",
- "${lower:xxx}",
- "${modifier:name,data,xxx}",
+ "${length:string}",
+ "${lengthscr:string}",
+ "${lower:string}",
+ "${modifier:name,data,string}",
"${random:min,max}",
- "${raw:xxx}",
+ "${raw:string}",
"${re:+}",
"${re:N}",
"${repeat:count,string}",
- "${rev:xxx}",
- "${revscr:xxx}",
+ "${rev:string}",
+ "${revscr:string}",
"${sec.data.xxx}",
- "${split:count,separators,flags,xxx}",
- "${split:number,separators,flags,xxx}",
- "${split:random,separators,flags,xxx}",
- "${split_shell:count,xxx}",
- "${split_shell:number,xxx}",
- "${split_shell:random,xxx}",
- "${translate:xxx}",
- "${upper:xxx}",
+ "${split:count,separators,flags,string}",
+ "${split:N,separators,flags,string}",
+ "${split:random,separators,flags,string}",
+ "${split_shell:count,string}",
+ "${split_shell:N,string}",
+ "${split_shell:random,string}",
+ "${translate:string}",
+ "${upper:string}",
"${weechat_cache_dir}",
"${weechat_config_dir}",
"${weechat_data_dir}",