Skip to content

Variable highlight color does not span lines #8444

Closed

Description

@schuelermine
fish, version 3.3.1
3.3.1

When splitting a command mid-variable using backslash-newline, the rest of the variable name isn’t highlighted in the same color as the start of it.
i.e.

echo $COL\
UMNS

Screenshot from 2021-11-15 01-45-04

Activity

  1. ridiculousfish commented on Nov 16, 2021

    @ridiculousfish
    Member

    Nice find! There's probably other cases where we mishandle this but this one is mercifully easy to fix. Fixed as a47f498

  2. added this to the fish 3.4.0 milestone on Nov 16, 2021
  3. added a commit that references this issue on Dec 12, 2021
  4. locked as resolved and limited conversation to collaborators on Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions