summaryrefslogtreecommitdiff
path: root/autoload/vim_ai.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--autoload/vim_ai.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/vim_ai.vim b/autoload/vim_ai.vim
index 99283ab..a4eb453 100644
--- a/autoload/vim_ai.vim
+++ b/autoload/vim_ai.vim
@@ -159,6 +159,7 @@ function! vim_ai#AIRedoRun()
endif
endif
if s:last_command == "chat"
- call vim_ai#AIChatRun(0, s:last_instruction)
+ " chat does not need prompt, all information are in the buffer already
+ call vim_ai#AIChatRun(0)
endif
endfunction