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 was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
The shell syntax highlight is wrong after output redirection and a string #153
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
The shell syntax highlighting does not behave as expected after the first double quote of a string that follows an output redirection (line 200 on the screenshot below).
All the rest of the file is somewhat coloured as a string (green).
Please find the following screenshot from Atom:
For comparison, here's also a screenshot from gedit of the same file, to show how the syntax highlighting look:
After some trials, it seems that removing >&2 fixes the highlighting. So, the syntax is coloured correctly if that is deleted. In the steps below you find a snipped i used for trials.
Activity
rsese commentedon Oct 14, 2019
Thanks for the report! Reproduced with 1.42.0-nightly8 on macOS 10.14.6 - with Tree-sitter:
With Tree-sitter disabled: