Prior to this PR, the syntax definition wasn't scoping XML comments in shellVariables and regex patterns correctly. However, ST also has some odd behavior - specifically, ST ignores text in tmPreferences files if it comes after a comment or CDATA node that comes after non-whitespace. I have added invalid.deprecated scoping to highlight this to the developer, to save time troubleshooting when commenting bits of text out or trying to use multiple consecutive CDATA sections.
(plistlib still reads it correctly, so I haven't touched the "Property List" syntax definition - it's just ST's parser that behaves like this.)
Prior to this PR, the syntax definition wasn't scoping XML comments in shellVariables and regex patterns correctly. However, ST also has some odd behavior - specifically, ST ignores text in
tmPreferences
files if it comes after a comment or CDATA node that comes after non-whitespace. I have addedinvalid.deprecated
scoping to highlight this to the developer, to save time troubleshooting when commenting bits of text out or trying to use multiple consecutive CDATA sections.(
plistlib
still reads it correctly, so I haven't touched the "Property List" syntax definition - it's just ST's parser that behaves like this.)