pest
pest copied to clipboard
Add context around error
Currently if pest fails on a blank line it will output something like this:
--> 8:1
|
8 | ␍␊
| ^---
|
= expected literal, single_name_part, new_indent, or continue_indent
I would like it to output a configurable number of surrounding lines a la rustc error messages.
Is it possible to configure this somewhere?