" Ensure python3 is available if !has('python3') echoerr "Python 3 support is required for vim-ai plugin" finish endif command! -range -nargs=? -complete=customlist,vim_ai#RoleCompletionComplete AI ,call vim_ai#AIRun(, {}, ) command! -range -nargs=? -complete=customlist,vim_ai#RoleCompletionEdit AIEdit ,call vim_ai#AIEditRun(, {}, ) command! -range -nargs=? -complete=customlist,vim_ai#RoleCompletionChat AIChat ,call vim_ai#AIChatRun(, {}, ) command! -nargs=? AINewChat call vim_ai#AINewChatRun() command! AIRedo call vim_ai#AIRedoRun()