From c268bca4096adda5d67087e00a40fb1f5f34d7cc Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Sat, 8 Apr 2023 18:45:45 +0200 Subject: improved initial prompt to eliminate responding with python code --- README.md | 2 +- doc/vim-ai.txt | 2 +- plugin/vim-ai.vim | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 66115ca..360a471 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ let s:initial_chat_prompt =<< trim END >>> system You are a general assistant. -If you attach a code block add syntax type annotation to it, for example ```python. +If you attach a code block add syntax type after ``` to enable syntax highlighting. END " :AIChat diff --git a/doc/vim-ai.txt b/doc/vim-ai.txt index 30fc5cb..ed70ef1 100644 --- a/doc/vim-ai.txt +++ b/doc/vim-ai.txt @@ -66,7 +66,7 @@ Options: > >>> system You are a general assistant. - If you attach a code block add syntax type annotation to it, for example ```python. + If you attach a code block add syntax type after ``` to enable syntax highlighting. END let g:vim_ai_chat = { diff --git a/plugin/vim-ai.vim b/plugin/vim-ai.vim index 2b58335..4ed5f34 100644 --- a/plugin/vim-ai.vim +++ b/plugin/vim-ai.vim @@ -21,7 +21,7 @@ let s:initial_chat_prompt =<< trim END >>> system You are a general assistant. -If you attach a code block add syntax type annotation to it, for example ```python. +If you attach a code block add syntax type after ``` to enable syntax highlighting. END let g:vim_ai_chat_default = { \ "options": { -- cgit v1.2.3