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.
preceding slash space breaks shell variable name highlighting #138
Open
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Phrase with slash escaped spaces preceding var use breaks the highlighting on the var name.
Steps to Reproduce
echo test\ file_$DATE.txt
echo test file_$DATE.txt
Expected behavior: DATE highlighted as var in both cases
Actual behavior: words with preceding slash escaped spaces cause var name following $
to not be highlighted.
Reproduces how often: always
Versions
macOS
atom 1.35.1
0.27.9