You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Highlighting is incorrect when using string redirection <<< and subshell
Steps to Reproduce
Create this file in Atom with Shell Script highlighting:
#!/usr/bin/env bashecho"Case 1:"read one two <<<"hello world"echo"Correctly highlighted when string is used"echo"Case 2:"read one two <<<$(echo"hello world")
echo"Everything after <<< incorrectly highlighted when $ is used"echo"until a match is found at the beginning of a line"$(echoecho"highlighting reset"echo"Case 3:"read one two <<<$fooecho"Everything after <<< incorrectly highlighted when $ is used"echo"until a match is found at the beginning of a line"$fooecho"highlighting reset"echo"Case 4:"read one two <<<$fooecho"Everything after <<< incorrectly highlighted when $ is used"echo"until a match is found at the beginning of a line"$fooecho"highlighting NOT reset"
Expected behavior: [What you expect to happen]
Correct highlighting after <<< $()
Actual behavior: [What actually happens]
Highlighting incorrect
Reproduces how often: [What percentage of the time does it reproduce?]
Prerequisites
I did not perform these steps because I do not see that they are applicable ;) I did look for similar issues and found nothing.
Description
Highlighting is incorrect when using string redirection
<<<
and subshellSteps to Reproduce
Create this file in Atom with
Shell Script
highlighting:Expected behavior: [What you expect to happen]
Correct highlighting after
<<< $()
Actual behavior: [What actually happens]
Highlighting incorrect
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
MacOS 10.13.1
edit: clarified that it is not only for subshell and reset must be at beginning of line
The text was updated successfully, but these errors were encountered: