Skip to content

Commit

Permalink
Merge pull request #401 from babel/improve-jsx-attribute-comments
Browse files Browse the repository at this point in the history
Improve JSX attribute comments.
  • Loading branch information
Thom1729 authored Apr 13, 2021
2 parents cc678d0 + f7029a1 commit 70d4161
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion JSX (Inner).YAML-tmPreferences
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [PackageDev] target_format: plist, ext: tmPreferences
name: JSX
scope: source.js meta.jsx.js - meta.embedded.expression
scope: source.js meta.jsx.js - meta.embedded.expression - meta.tag.name - meta.tag.attributes
settings:
shellVariables:
- name: TM_COMMENT_START
Expand Down
2 changes: 1 addition & 1 deletion JSX (Inner).tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>name</key>
<string>JSX</string>
<key>scope</key>
<string>source.js meta.jsx.js - meta.embedded.expression</string>
<string>source.js meta.jsx.js - meta.embedded.expression - meta.tag.name - meta.tag.attributes</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
Expand Down
2 changes: 1 addition & 1 deletion JavaScript (Babel).sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ contexts:
- include: else-pop

jsx-tag-attributes:
- meta_content_scope: meta.tag.js
- meta_content_scope: meta.tag.attributes.js

- match: '>'
scope: punctuation.definition.tag.end.js
Expand Down

0 comments on commit 70d4161

Please sign in to comment.