Skip to content

QuickFixLine highlighting does not start from the beginning of a quickfix line #4939

@lacygoill

Description

@lacygoill

Describe the bug

In a quickfix window, the QuickFixLine highlighting starts from the end of the text, instead of the beginning of the line.

To Reproduce

Run this shell command:

$ printf 'a\nb\nc' >/tmp/file && vim -Nu NONE --cmd 'syntax on' +'sil vim /./ % | copen' /tmp/file

The QuickFixLine highlighting starts after the text a.

Expected behavior

The QuickFixLine highlighting starts from the beginning of the line, which here displays /tmp/file|1 col 1|.

Screenshots

gif

Environment

  • Vim version: 8.1 Included patches: 1-2032
  • OS: Ubuntu 16.04.6 LTS
  • Terminal: st

Additional context

In the past, QuickFixLine highlighted the whole current quickfix line.
I don't know whether the change is intended, but I bisected it to 017ba07.

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