File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1717# You should have received a copy of the GNU General Public License
1818# along with this program. If not, see <http://www.gnu.org/licenses/>.
1919#
20+ # 2024-07-20: nils_2, (libera.#weechat)
21+ # 1.1 : fix SyntaxWarning with Python 3.12 (akyag)
22+ #
2023# 2019-07-16: nils_2, (freenode.#weechat)
2124# 1.0 : fix bug when misspelled word don't have a suggestion (rafasc)
2225# : fixed typo in /help text
7881
7982SCRIPT_NAME = "spell_correction"
8083SCRIPT_AUTHOR = "nils_2 <[email protected] >" 81- SCRIPT_VERSION = "1.0 "
84+ SCRIPT_VERSION = "1.1 "
8285SCRIPT_LICENSE = "GPL"
8386SCRIPT_DESC = "a spell correction script to use with spell/aspell plugin"
8487
9396 }
9497
9598Hooks = {'catch_input_completion' : '' , 'catch_input_return' : '' }
96- regex_color = re .compile ('\$\{([^\{\}]+)\}' )
97- regex_optional_tags = re .compile ('%\{[^\{\}]+\}' )
99+ regex_color = re .compile (r '\$\{([^\{\}]+)\}' )
100+ regex_optional_tags = re .compile (r '%\{[^\{\}]+\}' )
98101multiline_input = 0
99102plugin_name = "spell" # WeeChat >= 2.5
100103old_plugin_name = "aspell" # WeeChat < 2.5
You can’t perform that action at this time.
0 commit comments