Skip to content

Assignment as parameter value #670

Closed
@danielshahaf

Description

@danielshahaf

First case: (#670.1)

% foobar='x=$(ls)'
% $foobar

highlights the ba in green from ls, as foreseen in #572 (comment).

Second case: (#670.2)

Exactly the same with a shorter parameter name:

% y='x=$(ls)'
% $y
zsh-syntax-highlighting: BUG: _zsh_highlight_highlighter_main_paint: start(2) >= end(2)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions