Skip to content

bash syntax highlighting incorrect#2437

@bahamas10

Description

@bahamas10

not sure if this is the right place, but the bash syntax highlighter breaks if command substitution is done inside parameter expansion

foo=${foo:-$(date | awk '{print $0}')}# now everything is messed upforfin ./*.js;doecho"$f"done

The curly braces inside the awk command throw off the outside curly braces used around the variable it seems

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