Not building: make build_generator failed on ARM when onigurama-devel not installed
Hello, when running make build_generator on my system (Asahi Fedora Remix on Macbook M1), i got the following build error :
https://pastebin.com/nAUMdZDb
so after insatlling onigurama and onigurama-devel via dnf, and doing export RUSTONIG_SYSTEM_LIBONIG=1, i cleaned the plugin with Lazy clean codesnap.nvim in nvim, and tried to install again, then all went well.
here are some infos about the system :
cc --version : cc (GCC) 15.2.1 20250808 (Red Hat 15.2.1-1)
clang --version : clang version 20.1.8 (Fedora 20.1.8-4.fc42)
uname -rvsmo : Linux 6.16.8-400.asahi.fc42.aarch64+16k #1 SMP PREEMPT_DYNAMIC Sun Sep 21 20:31:36 UTC 2025 aarch64 GNU/Linux
lsb_release -ds : "Fedora Linux Asahi Remix 42 (Forty Two [Adams])"
nvim --version : NVIM v0.10.4
rustc --version : rustc 1.90.0 (1159e78c4 2025-09-14) (Fedora 1.90.0-1.fc42)
cargo --version : cargo 1.90.0 (840b83a10 2025-07-30) (Fedora 1.90.0-1.fc42)
pkg-config --modversion oniguruma : 6.9.10
file /home/fxmouskid/.local/share/lunarvim/site/pack/lazy/opt/codesnap.nvim/lua/generator.so : /home/fxmouskid/.local/share/lunarvim/site/pack/lazy/opt/codesnap.nvim/lua/generator.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=8a39e00191f590f507fbb5b105f6e410a8709ada, not stripped
@FxmousKid 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
Hello, alright I'll get to it when I have time and update you here. btw I forked the repo in order to make the tabs be of size 8 instead of 2, do you plan on adding this feature any time soon ? Thank you for amazing project, I have been bombarding everyone with Codesnaps ever since i have it hahaha
@FxmousKid Hey! thx a lot, I'm really glad to hear u are enjoy CodeSnap. You can add a configuration to code_config to let users customize the number of spaces used for indentation. You can contribute to https://github.com/codesnap-rs/codesnap
Hello,
This is the line i changed with 8 instead of 2 in my fork, since most of my code is tabsize = 8.
Altough i would love to contribute to codesnap, thing is I know nothing about rust :/ but i do have extensive C and some C++ knowledge, so maybe learning some rust (as it's actually used by most of the TUIs I use) is not bad idea.
I'll try and contribute that feature using code_config as you instructed.
Thank you.
P.S. love the fact you used codesnap for showing the code, codesnap-ception.