summaryrefslogtreecommitdiff
path: root/doc/pl
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-11-26 14:10:19 +0100
committerSébastien Helleu <flashcode@flashtux.org>2016-11-26 14:10:19 +0100
commite6dd5a06e167a81147f81bedf2945eff2ddb62cb (patch)
tree57b49b87e1d600b2d4bc0a0950f06514cb30edf6 /doc/pl
parent377fad22dbee02dfdbcb778cdb781409054838a5 (diff)
downloadweechat-e6dd5a06e167a81147f81bedf2945eff2ddb62cb.zip
doc: add chapter about buffer property "highlight_regex" in user's guide
Diffstat (limited to 'doc/pl')
-rw-r--r--doc/pl/weechat_user.pl.adoc17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc
index 822ba9c26..83b3bf256 100644
--- a/doc/pl/weechat_user.pl.adoc
+++ b/doc/pl/weechat_user.pl.adoc
@@ -1180,6 +1180,23 @@ from nicks beginning with "toto":
/set weechat.look.highlight_tags "nick_flashcode,irc_notice+nick_toto*"
----
+[[highlights_regex_buffer]]
+==== Set extra highlights on buffer
+
+You can force highlight using a regular expression with the buffer property
+"highlight_regex".
+
+For example to force the highlight on all messages in the current buffer:
+
+----
+/buffer set highlight_regex .*
+----
+
+[NOTE]
+The buffer property "highlight_regex" is not saved in configuration. +
+You can easily save it with the script _buffer_autoset.py_: you can install it
+with `/script install buffer_autoset.py` and get help with `/help autosetbuffer`.
+
[[key_bindings]]
=== Domyślne skróty klawiszowe