Skip to content

Shell syntax broken on code embedded in string #22525

@zgoda

Description

@zgoda
  • VSCode Version:
Version 1.10.2
Commit 8076a19fdcab7e1fc1707952d652f0bb6c6db331
Date 2017-03-08T14:00:46.854Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0
  • OS Version:
$ lsb_release -idrc
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.2 LTS
Release:	16.04
Codename:	xenial

Embedding shell code in string breaks syntax scheme on word "function" below:

zrzut ekranu z 2017-03-13 13-21-34

This is consistent across all colour themes.

Test case:

    if ! fnExists "platform_${__platform}"; then
        fatalError "Set the __platform variable: $(compgen -A function platform_ | cut -b10- | paste -s -d' ')"
    fi

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions