neoai.nvim
neoai.nvim copied to clipboard
Inject code not working (Lunarvim Nightly)
Slight modification to remove the gif. On lunarvim + neovim nightly
Problem
On using any inject code command, NeoAI start injecting ghost text ( empty lines get created ) but no content is inserted. It can be seen adding empty lines and am receiving the message that neoai generated the code successfully but the lines remain empty.
No error messages, other commands work
for anyone else trying to get this to work, there's an issue with the stripping function where it's being applied to chunks of text (at least in my case). fixable but also easy to just use custom instructions ex https://github.com/awhitehouse104/neoai.nvim/commit/aa7329b9e5f92249314867feb291aa6c4362d9b8