From 4692eec84b5aa9d95256bef515bd1d17471e5570 Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Sat, 23 Dec 2023 17:25:09 +0100 Subject: [PATCH] import vim before utils, fixes #43 --- py/chat.py | 2 ++ py/complete.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/py/chat.py b/py/chat.py index 907e71a..ff70904 100644 --- a/py/chat.py +++ b/py/chat.py @@ -1,3 +1,5 @@ +import vim + # import utils plugin_root = vim.eval("s:plugin_root") vim.command(f"py3file {plugin_root}/py/utils.py") diff --git a/py/complete.py b/py/complete.py index ede0aea..debe275 100644 --- a/py/complete.py +++ b/py/complete.py @@ -1,3 +1,5 @@ +import vim + # import utils plugin_root = vim.eval("s:plugin_root") vim.command(f"py3file {plugin_root}/py/utils.py")