mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 10:13:12 +02:00
core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" (issue #60)
This commit is contained in:
@@ -7359,17 +7359,18 @@ command_init ()
|
||||
"\"lengthscr:xxx\")\n"
|
||||
" 8. a color (format: \"color:xxx\", see \"Plugin API "
|
||||
"reference\", function \"color\")\n"
|
||||
" 9. an info (format: \"info:name,arguments\", arguments are "
|
||||
" 9. a modifier (format: \"modifier:name,data,string\")\n"
|
||||
" 10. an info (format: \"info:name,arguments\", arguments are "
|
||||
"optional)\n"
|
||||
" 10. current date/time (format: \"date\" or \"date:format\")\n"
|
||||
" 11. an environment variable (format: \"env:XXX\")\n"
|
||||
" 12. a ternary operator (format: "
|
||||
" 11. current date/time (format: \"date\" or \"date:format\")\n"
|
||||
" 12. an environment variable (format: \"env:XXX\")\n"
|
||||
" 13. a ternary operator (format: "
|
||||
"\"if:condition?value_if_true:value_if_false\")\n"
|
||||
" 13. result of an expression with parentheses and operators "
|
||||
" 14. result of an expression with parentheses and operators "
|
||||
"+ - * / // % ** (format: \"calc:xxx\")\n"
|
||||
" 14. an option (format: \"file.section.option\")\n"
|
||||
" 15. a local variable in buffer\n"
|
||||
" 16. a hdata name/variable (the value is automatically converted "
|
||||
" 15. an option (format: \"file.section.option\")\n"
|
||||
" 16. a local variable in buffer\n"
|
||||
" 17. a hdata name/variable (the value is automatically converted "
|
||||
"to string), by default \"window\" and \"buffer\" point to current "
|
||||
"window/buffer.\n"
|
||||
"Format for hdata can be one of following:\n"
|
||||
|
||||
Reference in New Issue
Block a user