Skip to content

🐛 rg --json input: a highlighted match after a tab is in the wrong position #1441

@th1000s

Description

@th1000s

echo -e "\t_abcABC987" >| foo; rg --json ABC98 foo | delta using the current master:

image

It seems the submatches from the json need to take the tabwidth into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions