zhenyangze / vim-bitoai

Use Bito CLI in vim and neovim
MIT License
14 stars 3 forks source link

It does work in neovim on windows #1

Closed ZG-N1 closed 1 year ago

ZG-N1 commented 1 year ago

when i use the command BitoAiExplain, Neovim put out " only -p flag is applicable for this command. Remove any additional flags and then try again" firstly, I thought it was the cmdList variable in your bitoai.vim goes wrong but i echo it out and find it is correct. I try to fix it but failed. so can you do some research to fix this problem, that were be so helpfull

finally, so sorry about my poor English.

zhenyangze commented 1 year ago

Please tell me about your version of neovim

zjp-CN commented 1 year ago

I meet the same problem with latest nigtly neovim on Windows.

Bito cli works fine on command line,

bito -p C:\Users\ADMINI~1\AppData\Local\Temp\nvim.0\BJnNcn\3 -f C:\Users\ADMINI~1\AppData\Local\Temp\nvim.0\BJnNcn\2

but vim-bitoai opens a new window showing

Only "-p" flag is applicable for this command. Remove any additional flags and then try again.