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.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
The until loop syntax highlight uses the command statement highlight rather than the correct control structure highlight used with if, else, fi, for, while, do, done.
Steps to Reproduce
Use the following demo code:
#!/usr/bin/env sh# Wrong highlight of the until structureuntil [ $i-eq 0 ];doecho"$i"
i=$((i-1))done
i=3
# Correct highlihgt of a while structurewhile [ $i-ne 0 ];doecho"$i"
i=$((i-1))done
Prerequisites
Description
The
untilloop syntax highlight uses thecommandstatement highlight rather than the correctcontrol structurehighlight used withif,else,fi,for,while,do,done.Steps to Reproduce
Use the following demo code:
Expected behaviour:
Expecting same highlight as
whileloop:Actual behaviour:
Wrong highlight of
untilloop:Reproduces how often:
Reproduces always: 100% of the time.
Versions
atom --version:apm --version:OS: Ubuntu 19.10 eoan