This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
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
Reactions are currently unavailable
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:
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
OS: Ubuntu 19.10 eoan