Error detected while processing function SnipRunLauncher
chenhui2016 opened this issue · 6 comments
Hi thanks for submitting an issue about this problem.... However I don't have enough data to understand what's going on (and I'm quite unable to reproduce). My ideas for now are:
- What does
:checkhealth sniprun
says ? - did you customize sniprun's
binary_path
- does an executable exist at the path mentionned in the error (and what happens if you launch it ?)
The checkhealth suggests something very important (the sniprun binary) doesn't exist
There should be no reason the binary is not present, save for internet connection strangeness (unlikely), or an inoportune neovim crash/close while the binary wasn't completely downloaded.
In both case I would try to reinstall the plugin, but if it doesn't work, I'd find where the plugin manager (lazy.nvim in your case) put sniprun, check the./target/release/sniprun binary and try to run the ./install.sh script
OK, I have solved. The last question, I don’t know if it’s a bug or if it will have any impact in the future.
1.When I manage the plugin in the lazy interface I run checkhealth and everything is correct.
2. When I finished running the cpp file and got the correct results, then I ran the checkhealth command, the following error occurred:
4. Is this a bug? And I made the changes and reinstalled sniprun according to its error report, and it still shows this error.
5. Thank you very much for making this plug-in. Thank you very much.
2 -> strange, I will look into it but I'm not sure I'll be able to do something
4 -> if sniprun works for you..., well it works, don't mind the checkhealth
5 -> you're welcome