summaryrefslogtreecommitdiff
path: root/py/chat.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/chat.py')
-rw-r--r--py/chat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/chat.py b/py/chat.py
index 6b5ed67..7614fb5 100644
--- a/py/chat.py
+++ b/py/chat.py
@@ -33,6 +33,7 @@ if not messages:
# roles not found, put whole file content as an user prompt
vim.command("normal! ggO>>> user\n")
vim.command("normal! G")
+ vim.command("let &ul=&ul") # breaks undo sequence (https://vi.stackexchange.com/a/29087)
vim.command("redraw")
messages = parse_messages()