fix: TextMate grammar error where patterns object is not iterable #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This particular
patterns
property is not an array but an object. As far as I know, this should always be an array. I noticed it when trying to convert it to Sublime syntax. It occurred both in the JSON and the YAML version.Goals
Fixing the syntax error in the
Approach
Wraps the object inside an array to match the expectations.
User stories
N/A
Release note
Fixes a syntax error in the TextMate grammar used for syntax highlighting.
Documentation
N/A as it simply corrects the syntax error
Training
N/A
Certification
N/A as it simply corrects the syntax error
Marketing
N/A
Automation tests
N/A
Security checks
Samples
N/A
Related PRs
N/A
Migrations (if applicable)
N/A
Test environment
N/A
Learning
N/A