mmims / language-batchfile

Windows batch file language support for Atom.
MIT License
34 stars 8 forks source link

[bat] Batch file syntax highlighting works incorrectly for single-letter variables #25

Closed aeschli closed 3 years ago

aeschli commented 6 years ago

From @m93a on February 18, 2018 11:36

Steps to Reproduce:

  1. Create a .bat file
  2. Either use a single-letter variable outside of a string
  3. Or use two single-letter variables inside strings on the same line

image

Does this issue occur when all extensions are disabled?: Yes

Copied from original issue: Microsoft/vscode#43923

mmims commented 6 years ago

This issue will require creating a new pattern and subpatterns to handle for loops properly. A temporary fix will be provided when the fix for #24 is committed.

msftrncs commented 6 years ago

Can I also add: image and image (from VSCode 1.24.1)