summaryrefslogtreecommitdiff
path: root/doc/vim-ai.txt
diff options
context:
space:
mode:
authorMartin Bielik <mx.bielik@gmail.com>2024-03-09 22:07:40 +0100
committerMartin Bielik <mx.bielik@gmail.com>2024-03-09 22:10:27 +0100
commit47ea181a3b99aef4a9be10e31f3d12ddbcde54b2 (patch)
tree56de2fc5e9d76dde6a8eceae8d9165b28624e3ad /doc/vim-ai.txt
parent188d07f5efa8a4cde3407e71ca2013c10c051bba (diff)
downloadvim-ai-47ea181a3b99aef4a9be10e31f3d12ddbcde54b2.tar.gz
roles docu
Diffstat (limited to '')
-rw-r--r--doc/vim-ai.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/vim-ai.txt b/doc/vim-ai.txt
index 72535b3..5d06fc7 100644
--- a/doc/vim-ai.txt
+++ b/doc/vim-ai.txt
@@ -161,6 +161,22 @@ You can also customize the options in the chat header: >
generate a paragraph of lorem ipsum
...
+ROLES
+
+Roles are defined in the `.ini` file: >
+
+ let g:vim_ai_roles_config_file = '/path/to/my/roles.ini'
+
+Example of a role: >
+
+ [grammar]
+ prompt = fix spelling and grammar
+
+ [grammar.options]
+ temperature = 0.4
+
+See roles-example.ini for more examples.
+
KEY BINDINGS
Examples how configure key bindings and customize commands: >