helixbass / tree-sitter-grep

The Unlicense
10 stars 1 forks source link

Expose context-lines options #47

Closed helixbass closed 1 year ago

helixbass commented 1 year ago

In this PR:

Not in this PR:

To test: Per newly added test cases you should see surrounding lines around matches being printed basically the way ripgrep does it by default (just without color formatting) when you specify one or more (see above caveat) of the context-lines command-line options

Based on custom-grep