summaryrefslogtreecommitdiff
path: root/py/complete.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/complete.py')
-rw-r--r--py/complete.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/complete.py b/py/complete.py
index f82707a..1f32e3e 100644
--- a/py/complete.py
+++ b/py/complete.py
@@ -28,3 +28,5 @@ try:
vim.command("redraw")
except KeyboardInterrupt:
vim.command("normal! a Ctrl-C...")
+except openai.error.Timeout:
+ vim.command("normal! a Connection timeout...")