diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2024-03-09 19:37:55 +0100 |
|---|---|---|
| committer | Martin Bielik <mx.bielik@gmail.com> | 2024-03-09 19:37:55 +0100 |
| commit | f4130feb986760a8d956983cb5cfe8d7106e7d4a (patch) | |
| tree | f5ea9e125cd52fbb2bc8cdd59abfe8358104fef8 /py/utils.py | |
| parent | 9db190c977d1f76e2f574882e4edde062eecbb0d (diff) | |
| download | vim-ai-f4130feb986760a8d956983cb5cfe8d7106e7d4a.tar.gz | |
roles example file
Diffstat (limited to '')
| -rw-r--r-- | py/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/utils.py b/py/utils.py index 52e538d..6600fc3 100644 --- a/py/utils.py +++ b/py/utils.py @@ -264,7 +264,7 @@ def clear_echo_message(): vim.command("call feedkeys(':','nx')") def load_role_config(role): - roles_config_path = os.path.expanduser('~/.vim/roles.ini') # TODO configure + roles_config_path = os.path.expanduser(vim.eval("g:vim_ai_roles_config_file")) roles = configparser.ConfigParser() roles.read(roles_config_path) if not role in roles: |