Skip to content

Ignore pipes as string starters after run: tags #7

Description

@Svalorzen

YAML normally uses pipes to delimit multi-line strings. In GitHub actions, however, they are used after run: tags in order to define multiple commands to run. However, even using this plugin, these groups of actions are still highlighted as strings, in other words all in a single color.

It would be nice if this plugin could prevent this behavior and leave general syntax highlighting on for those commands (basically what you'd get if you deleted the pipe symbols from the file).

Example:

run: |
    echo "${{ matrix.os }}"
    echo "string"

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