jeff-hykin / better-shell-syntax

💾 📦 ♻️ An improvement to the shell syntax for VS Code
MIT License
50 stars 4 forks source link

`continue` does not highlight unless outside of anything #58

Closed 1480c1 closed 3 months ago

1480c1 commented 1 year ago

The code with a problem is:

#!/usr/bin/bash

while :; do
    continue
    break
done
for i in $(seq 1 10); do
    continue
    break
done
until :; do
    continue
    break
done
if :; then
    continue
    break
fi
continue

It looks like:

image Applies to all current VS Code Themes as far as I can tell in both general and insiders and with the plugin installed at version v1.5.2

It should look like:

continue should have same color as break, especially inside loops

jeff-hykin commented 3 months ago

I'm not sure when this was fixed but it now seems to be fixed