diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2023-03-20 18:27:46 +0100 |
|---|---|---|
| committer | Martin Bielik <mx.bielik@gmail.com> | 2023-03-20 18:27:46 +0100 |
| commit | e025530d25cedd1dcbd9d2102cd06296f3707da9 (patch) | |
| tree | 007c343d907de7dd8e6998590cfed79b10bb2f35 | |
| parent | a8087e6f4ff418143eef31d363122242790c9556 (diff) | |
| download | vim-ai-e025530d25cedd1dcbd9d2102cd06296f3707da9.tar.gz | |
fixed missing whitespace in chat
Diffstat (limited to '')
| -rw-r--r-- | py/chat.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -49,6 +49,8 @@ try: text = resp['choices'][0]['delta'].get('content', '') if not text.strip() and not generating_text: continue # trim newlines from the beginning + + generating_text = True vim.command("normal! a" + text) vim.command("redraw") |