Prerequisites
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 structure
until [ $i -eq 0 ]; do
echo "$i"
i=$((i-1))
done
i=3
# Correct highlihgt of a while structure
while [ $i -ne 0 ]; do
echo "$i"
i=$((i-1))
done
Expected behaviour:
Expecting same highlight as while loop:

Actual behaviour:
Wrong highlight of until loop:

Reproduces how often:
Reproduces always: 100% of the time.
Versions
Atom : 1.43.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0
apm 2.4.3
npm 6.2.0
node 10.2.1 x64
atom 1.43.0
python 2.7.17
git 2.20.1
OS: Ubuntu 19.10 eoan
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