Skip to content

Highlight CI variables ${{ }} even when inside strings #8

@Svalorzen

Description

@Svalorzen

The ${{ and }} symbols are correctly highlighted, but not when in a string. It would be nice to easily detect when a string contains a workflow variable by always adding colors for those symbols (and perhaps de-coloring the text between them).

Example:

env:
    CONFIG_VALUE: "matrix_os=${{ matrix.os == 'Windows' || '' }}"

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