From f4130feb986760a8d956983cb5cfe8d7106e7d4a Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Sat, 9 Mar 2024 19:37:55 +0100 Subject: roles example file --- py/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/utils.py') 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: -- cgit v1.2.3