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
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.
Prerequisites
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:
(Copyright note: the code snippet shown in the screenshots above is from the script "multicrop" for ImageMagick by Fred Weinhaus, found at http://www.fmwconcepts.com/imagemagick/index.php)
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.Steps to Reproduce
>&2
everything is green, a part from variables>&2
is removed, sometimes the systax is highlighted correctly again.Expected behavior:
See description
Actual behavior:
See description
Reproduces how often:
All the time, consistently
Versions
Additional Information
Ubuntu OS, 18.04
The text was updated successfully, but these errors were encountered: