This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Description
Prerequisites
Description
Here strings (<<<) when used with command substitution cause two issues:
- The closing bracket (
)) is a different color to the opening one
- The use of backticks (
`) results in improper syntax highlighting on the lines below
Steps to Reproduce
Open the following code in Visual Studio Code:
#!/bin/bash
echo one two
cat <<< $(echo one two)
echo one two
echo one two
cat <<< `echo one two`
echo one two
echo one two
cat <<< $(echo one two)
echo one two
Expected behavior:
The syntax highlighting to be like Atom (version https://github.com/atom/language-shellscript/releases/tag/v0.28.2):

Actual behavior:
Visual Studio Code (version 4f8d7bb5cc4d1643674551683df10fe552dd5a6f)

Visual Studio Code is a few commits ahead of Atom, the issue appears to have been introduced in 4f8d7bb.