Skip to content

Fix syntax highlight issues for object types #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 5, 2015

Conversation

zhengbli
Copy link
Contributor

@zhengbli zhengbli commented May 1, 2015

Fix #162

@zhengbli zhengbli changed the title Fix issue 162 Fix syntax highlight issues for object types May 1, 2015
@mhegazy
Copy link
Contributor

mhegazy commented May 1, 2015

@steveluc and @DanielRosenwasser can you take a look at this PR.

@@ -390,7 +394,7 @@ repository:

expression-operator:
name: keyword.operator.ts
match: =>|\b(delete|export|import|in|instanceof|module|new|typeof|void)\b
match: =>|\b(delete|export|import|in|of|instanceof|module|new|typeof|void)\b
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of is a contextual keyword that only lights up in a for..of statement, though we may not care.

@zhengbli zhengbli mentioned this pull request May 5, 2015
zhengbli added a commit that referenced this pull request May 5, 2015
Fix syntax highlight issues for object types
@zhengbli zhengbli merged commit 429cf30 into microsoft:master May 5, 2015
@zhengbli zhengbli deleted the issue162 branch June 4, 2015 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syntax highlighting incorrect for type literals
4 participants