diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-11-01 20:34:52 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-11-01 20:34:52 +0100 |
commit | e0810ae6d557c7f47044518b4224dced6feb64ff (patch) | |
tree | e6bd6e348017d62bed926094f5da66f4ec7dd358 /doc/it/autogen/user/trigger_commands.asciidoc | |
parent | de067ff6a037dfcb591647d56390a75e60fdb0cc (diff) | |
download | weechat-e0810ae6d557c7f47044518b4224dced6feb64ff.zip |
trigger: fix trigger example "effects" in /help trigger (update regex to new format)
Diffstat (limited to 'doc/it/autogen/user/trigger_commands.asciidoc')
-rw-r--r-- | doc/it/autogen/user/trigger_commands.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/it/autogen/user/trigger_commands.asciidoc b/doc/it/autogen/user/trigger_commands.asciidoc index 1892ef661..8624d9843 100644 --- a/doc/it/autogen/user/trigger_commands.asciidoc +++ b/doc/it/autogen/user/trigger_commands.asciidoc @@ -68,7 +68,7 @@ When a trigger callback is called, following actions are performed, in this orde Examples (you can also look at default triggers with /trigger listdefault): add text attributes *bold*, _underline_ and /italic/ (only in user messages): - /trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*(\S+)\*==*${color:bold}$1${color:-bold}*== ==_(\S+)_==_${color:underline}$1${color:-underline}_== ==/(\S+)/==/${color:italic}$1${color:-italic}/" + /trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*(\S+)\*==*${color:bold}${re:1}${color:-bold}*== ==_(\S+)_==_${color:underline}${re:1}${color:-underline}_== ==/(\S+)/==/${color:italic}${re:1}${color:-italic}/" hide nicklist bar on small terminals: /trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist" /trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist" |