Closed afidegnum closed 5 months ago
Hi @afidegnum , sorry about that This is due to a bad example in the documentation for snipruncolors config (cterfg =/ ctermfg) that was there since a long time ago.
The new highlighting in v1.3.12 is more configurable, but less permissive, so it breaks only now
You appear to specify the default highlights anyway, so you can either remove the whole snipruncolors key, or correct the invalid cterfg keys to 'ctermfg'
Can you also guide on the Rust issue?
Imported modules seems not to be recognized. is there a way to include Cargo.toml
or how can i include modules to be recognized by sniprun
?
Unfortunately, this feature doesn't exist for Rust (yet)
Language with that kind of capabilities in sniprun are labeled at SupportLevel 'Import', and only a couple exist for now, as it requires per-language code. I'm not against implementing it, but there's a little bit more than just grepping the use xxx; statements
Ok, Thanks,
Describe the bug A clear and concise description of what the bug is.
Initially, I'm facing an issue where sniprun is not able to load imported modules from Cargo.toml After disabling and renabling, I faced the following bug:
Can you please assist in the cause of the bug? this is my current sniprun configuration: