Configurable amount of contextual information (edge)
Currently, there are hardcoded constants that define the amount of contextual information in a diff (3 lines above and below the change). It would be useful to have control over these variables.
Let me know if you would be willing to merge such a change, I am happy to open a PR.
Sorry, I consider this repository dead. It hasn't been worked on in years, and the code within this repository is a copy of the gopls language servers code from 2019 as the README describes:
This is a copy of the Go text diffing packages that the official Go language server gopls uses internally to generate unified diffs.
I will archive the repository to prevent any further confusion.
I'd encourage forking it and modifying it if that suits your needs!