Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: ability to specify number of lines before & after matches for context #226

Open
transitive-bullshit opened this issue Apr 14, 2024 · 0 comments

Comments

@transitive-bullshit
Copy link

When using grit apply or grit check, I'd love the ability to specify the number of lines of additional context for grit to include before and after the matched ranges.

I can do this myself w/ a bit of post-processing, but it'd be really nice if grit support this as a built-in config option.

@transitive-bullshit transitive-bullshit changed the title Feature request: ability to specify number of lines before & after matches to print for context Feature request: ability to specify number of lines before & after matches for context Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant