blob: 146504d776d35e0e95fcf2d8f0ebb89f9b935d88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
" 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 <line1>,<line2>call vim_ai#AIRun(<range>, {}, <q-args>)
command! -range -nargs=? -complete=customlist,vim_ai#RoleCompletionEdit AIEdit <line1>,<line2>call vim_ai#AIEditRun(<range>, {}, <q-args>)
command! -range -nargs=? -complete=customlist,vim_ai#RoleCompletionChat AIChat <line1>,<line2>call vim_ai#AIChatRun(<range>, {}, <q-args>)
command! -nargs=? AINewChat call vim_ai#AINewChatDeprecatedRun(<f-args>)
command! AIRedo call vim_ai#AIRedoRun()
command! AIUtilRolesOpen call vim_ai#AIUtilRolesOpen()
command! AIUtilDebugOn call vim_ai#AIUtilSetDebug(1)
command! AIUtilDebugOff call vim_ai#AIUtilSetDebug(0)
|