1
0
mirror of https://github.com/gryf/weechat-replacer.git synced 2026-01-08 23:04:12 +01:00

Added Python3 support

This commit is contained in:
2019-07-19 16:01:31 +02:00
parent 34c247d3c2
commit 5a5ecd8ce0
2 changed files with 28 additions and 15 deletions

View File

@@ -6,9 +6,10 @@ Weechat plugin for replacing user defined keywords with specified text.
Installation and configuration
------------------------------
In order to use it, you have to have Weechat with Python plugin support compiled
in. Than, copy ``replacer.py`` to ``~/.weechat/python/``. You can optionally
create symbolic link to this script:
In order to use it, you have to have Weechat with Python plugin support
compiled in. Than, copy ``replacer.py`` to ``~/.weechat/python/``. You can use
any of the Python version - both Python2 and Python3 are supported. You can
optionally create symbolic link to this script:
.. code:: shell-session
@@ -34,8 +35,8 @@ Usage
-----
Abbreviations will be stored as json file ``~/.weechat/replacement_map.json``,
which role is to simply persist dictionary object on the filesystem. To add some
replacement words, and text which would those words replaced with:
which role is to simply persist dictionary object on the filesystem. To add
some replacement words, and text which would those words replaced with:
.. code::