From c190089fc11985bbaff51362d8a00fbfff133796 Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Wed, 1 Nov 2023 17:40:31 +0100 Subject: fixed python3.12 slash escaping, fixes #61 --- py/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/utils.py b/py/utils.py index e5203bd..4e638e2 100644 --- a/py/utils.py +++ b/py/utils.py @@ -167,7 +167,7 @@ def openai_request(url, data, options): def print_info_message(msg): vim.command("redraw") - vim.command(f"normal \") + vim.command("normal \\") vim.command("echohl ErrorMsg") vim.command(f"echomsg '{msg}'") vim.command("echohl None") -- cgit v1.2.3