zesterer / ariadne

A fancy diagnostics & error reporting crate
https://crates.io/crates/ariadne
MIT License
1.61k stars 72 forks source link

Option to hide file name and line numbers #29

Open p-e-w opened 2 years ago

p-e-w commented 2 years ago

I'm using Ariadne to format errors for REPL input, which doesn't originate from a file and typically consists of only one line. Therefore, the file name header and line numbers column are just visual noise for me, and it would be nice to have an option to hide them.