diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2023-04-10 10:31:46 +0200 |
|---|---|---|
| committer | Martin Bielik <mx.bielik@gmail.com> | 2023-04-10 10:31:46 +0200 |
| commit | f8323fe373f0470010a289c3fb1b350a5972cfda (patch) | |
| tree | 3265e36222bb015dda80df7096e6cb0bc064c51c /plugin/vim-ai.vim | |
| parent | e7a16f5484b74e49dc51a4a0db81566565eae105 (diff) | |
| download | vim-ai-f8323fe373f0470010a289c3fb1b350a5972cfda.tar.gz | |
populate options in chat
Diffstat (limited to 'plugin/vim-ai.vim')
| -rw-r--r-- | plugin/vim-ai.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/vim-ai.vim b/plugin/vim-ai.vim index 4ed5f34..5a6e3e0 100644 --- a/plugin/vim-ai.vim +++ b/plugin/vim-ai.vim @@ -34,6 +34,7 @@ let g:vim_ai_chat_default = { \ "ui": { \ "open_chat_command": "below new | call vim_ai#MakeScratchWindow()", \ "code_syntax_enabled": 1, +\ "populate_options": 0, \ }, \} @@ -137,6 +138,7 @@ function! AIChatRun(is_selection, ...) range let s:last_is_selection = a:is_selection let options = g:vim_ai_chat['options'] + let ui = g:vim_ai_chat['ui'] execute "py3file " . s:chat_py set nopaste endfunction |