Skip to content

Commit

Permalink
Use all comments files from core JavaScript package.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thom1729 committed Apr 15, 2021
1 parent cc678d0 commit b382342
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 41 deletions.
9 changes: 0 additions & 9 deletions JSX (Inner).YAML-tmPreferences

This file was deleted.

28 changes: 0 additions & 28 deletions JSX (Inner).tmPreferences

This file was deleted.

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
4 changes: 1 addition & 3 deletions support/Comments.tmPreferences
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>name</key>
<string>Comments</string>
<key>scope</key>
<string>source.js, source.json</string>
<string>source.js, source.jsx, source.ts, source.tsx, meta.jsx meta.tag.name, meta.jsx meta.tag.attributes</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
Expand Down
28 changes: 28 additions & 0 deletions support/JSX Comments.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>JSX Comments</string>
<key>scope</key>
<string>meta.jsx</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
<array>
<dict>
<key>name</key>
<string>TM_COMMENT_START</string>
<key>value</key>
<string>{/*</string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_END</string>
<key>value</key>
<string>*/}</string>
</dict>
</array>
</dict>
</dict>
</plist>

0 comments on commit b382342

Please sign in to comment.