gotextdiff icon indicating copy to clipboard operation
gotextdiff copied to clipboard

Configurable amount of contextual information (edge)

Open lovromazgon opened this issue 1 year ago • 1 comments

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.

lovromazgon avatar Feb 09 '24 17:02 lovromazgon

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!

emidoots avatar Feb 09 '24 20:02 emidoots