codesnap.nvim
codesnap.nvim copied to clipboard
Bug: Crash when syntax detection fails.
When the syntax detection fails, it crashes nvim.
It should be handled gracefully instead of crashing.
thread '<unnamed>' panicked at library/core/src/panicking.rs:218:5:
panic in a function that cannot unwind
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
X-Refs:
- https://github.com/mistricky/codesnap.nvim/issues/157
- https://github.com/mistricky/codesnap.nvim/issues/133
@gorillamoe Codesnap v2.0.0-beta.17 has been released. Could you test whether everything works correctly on beta 17? This version introduces some breaking changes, so it's best to completely uninstall your previous Codesnap installation and follow the v2 README
Pretty busy day, I'll give it a shot tomorrow (Thursday, CEST). Thanks for the hard work!