Skip to content

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Oct 13, 2017

Adds a new meta scope so that we can identity when we are in an attribute list for a tag

Fixes #532

@mjbvz mjbvz changed the title Add new meta scope to specifically mark attributes in tags Add new meta scope to mark attribute lists in tags Oct 13, 2017
'2': { name: entity.name.tag.tsx }
'3': { name: support.class.component.tsx }
end: (?=[/]?>)
contentName: meta.tag.attributes.tsx
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure that you also want to include #jsx-tag-attributes-illegal and #comment that gets applied inside this scope to have meta.tag.attributes.tsx ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, my intent was the have everything after the tag name but before the closing > scoped with meta.tag.attributes.tsx

@sheetalkamat sheetalkamat merged commit 824f47e into microsoft:master Oct 13, 2017
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.

2 participants