github-actions-yaml.vim icon indicating copy to clipboard operation
github-actions-yaml.vim copied to clipboard

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

Open Svalorzen opened this issue 1 year ago • 1 comments

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' || '' }}"

Svalorzen avatar Aug 07 '24 15:08 Svalorzen

@Svalorzen

In my Vim, ${{ }} are highlighted when in string.

image

Could you share what you see on your end?

yasuhiroki avatar Sep 04 '24 14:09 yasuhiroki