Skip to content

Keywords in shell scripts are the wrong colour at the end of a case #114

@alexr00

Description

@alexr00

The code with a problem is:

case "$1" in
b)
    echo '[B]'
    return;;
yay)
    if true; then
        echo 'yay!!!'
    fi;
esac

It looks like:

Image

It should look like:

The colors of the fi and esac are incorrect. They should be the same as the if and the case.

Originally from @cD1rtX3 in microsoft/vscode#276512 (comment)

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