From f8323fe373f0470010a289c3fb1b350a5972cfda Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Mon, 10 Apr 2023 10:31:46 +0200 Subject: populate options in chat --- plugin/vim-ai.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugin') 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 -- cgit v1.2.3