Skip to content

search.contextLines no longer works for values greater than 2 #1365

@patkujawa-wf

Description

@patkujawa-wf

https://sourcegraph.com/docs/admin/config/settings#adminconfigsettingsschemajson claims that one can set search.contextLines, and the User Settings page autocomplete indicates the same, but the setting is no longer honored when greater than 2 (it once was, not sure when things changed). I can reduce the context lines to only 1, but I can't get more than 2.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions