jeff-hykin / better-shell-syntax

💾 📦 ♻️ An improvement to the shell syntax for VS Code
MIT License
51 stars 4 forks source link

Syntax highlighting issue with curly brace in string #32

Closed alexr00 closed 1 year ago

alexr00 commented 1 year ago

If you remove the { from "${args[@]}" the issue resolves.

#!/bin/bash
function run_args() {
    args=("date" "--utc")
    "${args[@]}"
    echo 'use "quota" here'
}
run_args

image

Originally from @ladyrick in https://github.com/microsoft/vscode/issues/173246

jeff-hykin commented 1 year ago

should be fixed with v1.3.1