diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2023-04-11 17:37:49 +0200 |
|---|---|---|
| committer | Martin Bielik <mx.bielik@gmail.com> | 2023-04-11 17:37:49 +0200 |
| commit | 706dd5716dc559f85f2ae054db63d51fc5cce81b (patch) | |
| tree | d8f4648b8db30dec4a121696d69c4bcc4039d602 /py | |
| parent | 2d644e05545be6cd699eb5e834d6ba4468f12b41 (diff) | |
| download | vim-ai-706dd5716dc559f85f2ae054db63d51fc5cce81b.tar.gz | |
fixed legacy method
Diffstat (limited to 'py')
| -rw-r--r-- | py/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/utils.py b/py/utils.py index 5e560b3..8815575 100644 --- a/py/utils.py +++ b/py/utils.py @@ -2,8 +2,8 @@ import datetime import sys import os -is_debugging = vim.bindeval("g:vim_ai_debug") == 1 -debug_log_file = vim.bindeval("g:vim_ai_debug_log_file") +is_debugging = vim.eval("g:vim_ai_debug") == 1 +debug_log_file = vim.eval("g:vim_ai_debug_log_file") def load_api_key(): config_file_path = os.path.join(os.path.expanduser("~"), ".config/openai.token") |