summaryrefslogtreecommitdiff
path: root/doc/vim-ai.txt
diff options
context:
space:
mode:
authorMartin Bielik <mx.bielik@gmail.com>2024-03-11 21:45:41 +0100
committerGitHub <noreply@github.com>2024-03-11 21:45:41 +0100
commit1ae3ebccf6d790e669311d9556335a8fa55b07cc (patch)
tree3ff148f263f708ee6861a8a4671b8675be6a678d /doc/vim-ai.txt
parent5709ab1ce75f05e9b57bf052f3ad92aa74f61c16 (diff)
parent881fd24a6d2c0de387256b4d6e05f5d0a53cc8e2 (diff)
downloadvim-ai-1ae3ebccf6d790e669311d9556335a8fa55b07cc.tar.gz
Merge pull request #87 from Konfekt/custom-roles
Ensure role config file exists and optional Vim source
Diffstat (limited to 'doc/vim-ai.txt')
-rw-r--r--doc/vim-ai.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/vim-ai.txt b/doc/vim-ai.txt
index 5d06fc7..c7aefde 100644
--- a/doc/vim-ai.txt
+++ b/doc/vim-ai.txt
@@ -177,6 +177,11 @@ Example of a role: >
See roles-example.ini for more examples.
+The roles in g:vim_ai_roles_config_file are converted to a Vim dictionary whose
+labels are the names of the roles. Optionally, roles can be added by setting
+g:vim_ai_roles_config_function to the name of a Vimscript function returning a
+dictionary of the same format as g:vim_ai_roles_config_file.
+
KEY BINDINGS
Examples how configure key bindings and customize commands: >