summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Bielik <mx.bielik@gmail.com>2023-04-08 18:45:45 +0200
committerMartin Bielik <mx.bielik@gmail.com>2023-04-08 18:45:45 +0200
commitc268bca4096adda5d67087e00a40fb1f5f34d7cc (patch)
treebe9a5680bfe3c0966b0dbbc576ac7f211db047e1
parent11fd47c3fdd634ee03d33b08b53a6e0ae14fa6dc (diff)
downloadvim-ai-c268bca4096adda5d67087e00a40fb1f5f34d7cc.tar.gz
improved initial prompt to eliminate responding with python code
Diffstat (limited to '')
-rw-r--r--README.md2
-rw-r--r--doc/vim-ai.txt2
-rw-r--r--plugin/vim-ai.vim2
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": {