From 010b1c36222f8f8c50d80eddc4fe1209e84a5d2e Mon Sep 17 00:00:00 2001 From: Robin Krens Date: Thu, 2 Jan 2025 18:59:10 +0100 Subject: [PATCH] use put instead in append (not sure if better though) --- claudy.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/claudy.vim b/claudy.vim index 6a87498..042d6d8 100644 --- a/claudy.vim +++ b/claudy.vim @@ -146,11 +146,11 @@ function! s:SendMessage() call add(b:chat_history, {'role': 'assistant', 'content': l:response}) " Add visual separator - call append('$', repeat('-', 80)) + put = repeat('-', 80) " Add response - put =l:response + put = l:response " call append('$', 'Claude: ' . l:response) - call append('$', '') + put = repeat('-', 80) . '\n' " Move cursor to new line normal! G -- 2.7.4