diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2023-04-08 18:45:45 +0200 |
|---|---|---|
| committer | Martin Bielik <mx.bielik@gmail.com> | 2023-04-08 18:45:45 +0200 |
| commit | c268bca4096adda5d67087e00a40fb1f5f34d7cc (patch) | |
| tree | be9a5680bfe3c0966b0dbbc576ac7f211db047e1 | |
| parent | 11fd47c3fdd634ee03d33b08b53a6e0ae14fa6dc (diff) | |
| download | vim-ai-c268bca4096adda5d67087e00a40fb1f5f34d7cc.tar.gz | |
improved initial prompt to eliminate responding with python code
Diffstat (limited to '')
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | doc/vim-ai.txt | 2 | ||||
| -rw-r--r-- | plugin/vim-ai.vim | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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": { |