mistricky / codesnap.nvim

📸 Snapshot plugin with rich features that can make pretty code snapshots for Neovim
MIT License
602 stars 18 forks source link

Neovim crashes when using codesnap with rust code #118

Closed augustocdias closed 2 months ago

augustocdias commented 3 months ago

When I call :CodeSnap on rust code, neovim crashes.

t-rec_1

Here's the repo where this code resides: https://github.com/wireapp/core-crypto

mistricky commented 3 months ago

https://github.com/mistricky/codesnap.nvim/assets/22574136/27c0589f-fe66-4b89-8732-2b5436d16f32

Hi @augustocdias thx for this issue report.

I'm not sure what's happen, I can't reproduce on my computer.

Can you provide the following information to help us to debug:

  1. What's your architecture x86 or ARM?
  2. What's version of Neovim do you use?
  3. What's version of CodeSnap.nvim do you use?
augustocdias commented 2 months ago

Is there any way to generate some logging or gather some info about the error?

I'm on ARM. Mac M1 Pro

NVIM v0.11.0-dev-364+g73ae7d44a Build type: RelWithDebInfo LuaJIT 2.1.1720049189

Its the latest main. I had just installed yesterday when I was trying. It does work with lua though...

image

mistricky commented 2 months ago

I can't reproduce, can you make a new clean Neovim config and install CodeSnap.nvim and try again?

augustocdias commented 2 months ago

I'm currently away from home. I'll try again on Monday.

augustocdias commented 2 months ago

It stopped happening... I think we can close this. If I make a way to reproduce it I'll reopen and give more details