jeff-hykin / better-shell-syntax

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

Shell script syntax highlight issue for values beginning with a number #65

Closed alexr00 closed 3 months ago

alexr00 commented 10 months ago

The code with a problem is:

VAR1=xxx000
VAR2=000xxx

It looks like:

PixelSnap 2023-09-04 at 19 06 51@2x

It should look like:

The value of each VAR should not be highlighted as both a number and a string if the value begins with a number.

Originally from @dnicolson in https://github.com/microsoft/vscode/issues/192157