sourcegraph / zoekt

Fast trigram based code search
Apache License 2.0
736 stars 83 forks source link

Enabling numContextLines in non-json format #796

Closed po3rin closed 3 months ago

po3rin commented 3 months ago

This PR makes NumContextLines available in formats other than json.

Why

Currently, I want to run my own search UI template on zoekt-webserver. However, since NumContextLines is only available in json format, I cannot use that information in my own template.

Please let us know what do you think. Thank you!

cla-bot[bot] commented 3 months ago

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Hiromu Nakamura. This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails
cla-bot[bot] commented 3 months ago

We require contributors to sign our Contributor License Agreement (CLA), and we don't have yours on file. In order for us to review and merge your code, please sign CLA to get yourself added.

Sourcegraph teammates should refer to Accepting contributions for guidance.

po3rin commented 3 months ago

thanks!