diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2024-03-09 12:41:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-09 12:41:57 +0100 |
| commit | 2c68098308cb59c2a5dd13c3b3f4323ae1b602e2 (patch) | |
| tree | e7acbbba928239850ff2401f0dd0ae8f2d283826 /plugin | |
| parent | e0e03cf9ca218cd3f8f9afe0a219aca7470fa4f5 (diff) | |
| parent | f4e64b6e5fe17734f8942207b86eb30d6cd6248c (diff) | |
| download | vim-ai-2c68098308cb59c2a5dd13c3b3f4323ae1b602e2.tar.gz | |
Merge pull request #82 from Konfekt/issue81
fix selection handling in vim_ai functions, fixes #81
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/vim-ai.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/vim-ai.vim b/plugin/vim-ai.vim index 5d156c3..0e4957f 100644 --- a/plugin/vim-ai.vim +++ b/plugin/vim-ai.vim @@ -18,5 +18,5 @@ command! -range -nargs=? AIEdit <line1>,<line2>call vim_ai#AIEditRun({}, <q " AIChat defaults to passing nothing which is achieved by -range=0 and passing " <count> as described at https://stackoverflow.com/a/20133772 command! -range=0 -nargs=? AIChat <line1>,<line2>call vim_ai#AIChatRun(<count>, {}, <q-args>) -command! -nargs=? AINewChat call vim_ai#AINewChatRun(<q-args>) +command! -nargs=? AINewChat call vim_ai#AINewChatRun(<f-args>) command! AIRedo call vim_ai#AIRedoRun() |