From f5163548a5c53cfd19e186d2214533e9ed658f03 Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Tue, 11 Jun 2024 09:17:11 +0200 Subject: fixes #110, python compatibility issue with escape sequence --- py/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py') diff --git a/py/utils.py b/py/utils.py index d1f960b..3401f4b 100644 --- a/py/utils.py +++ b/py/utils.py @@ -231,7 +231,7 @@ def openai_request(url, data, options): def print_info_message(msg): vim.command("redraw") - vim.command('call feedkeys("\")') + vim.command(r'call feedkeys("\")') vim.command("echohl ErrorMsg") vim.command(f"echomsg '{msg}'") vim.command("echohl None") -- cgit v1.2.3