mistricky / codesnap.nvim

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

Crashing when run on not popular languages (e.g. gleam) #133

Open wczyz opened 4 weeks ago

wczyz commented 4 weeks ago
  1. Create main.gleam file
  2. Fill it with:
    
    pub fn main() {

}

3. Save file
4. Select all lines and do `:CodeSnap`
5. Crashes with:

thread '' panicked at library/core/src/panicking.rs:221:5:
panic in a function that cannot unwind
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
unwinding panic. aborting.



* Works for other languages: C++, Python
* Using packer
* Compiled from source
* Arch-linux
VoxelMC commented 3 weeks ago

I came here specifically to also ask for Gleam support. It's a pretty language to share!