summaryrefslogtreecommitdiff
path: root/py/utils.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--py/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/utils.py b/py/utils.py
index dc86f34..01315ef 100644
--- a/py/utils.py
+++ b/py/utils.py
@@ -44,6 +44,7 @@ def render_text_chunks(chunks):
continue # trim newlines from the beginning
generating_text = True
vim.command("normal! a" + text)
+ vim.command("undojoin")
vim.command("redraw")
full_text += text
if not full_text.strip():