Skip to content

Commit f1b9701

Browse files
committed
Set linebreak mode to make chat easier to read.
1 parent 732040c commit f1b9701

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin/chatgpt.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ function! DisplayChatGPTResponse(response, finish_reason, chat_gpt_session_id)
7878
call setbufvar(chat_gpt_session_id, '&swapfile', 0)
7979
setlocal modifiable
8080
setlocal wrap
81+
setlocal linebreak
8182
call setbufvar(chat_gpt_session_id, '&ft', 'markdown')
8283
call setbufvar(chat_gpt_session_id, '&syntax', 'markdown')
8384
endif

0 commit comments

Comments
 (0)