diff --git a/JSX (Inner).YAML-tmPreferences b/JSX (Inner).YAML-tmPreferences deleted file mode 100644 index f68bfad..0000000 --- a/JSX (Inner).YAML-tmPreferences +++ /dev/null @@ -1,9 +0,0 @@ -# [PackageDev] target_format: plist, ext: tmPreferences -name: JSX -scope: source.js meta.jsx.js - meta.embedded.expression -settings: - shellVariables: - - name: TM_COMMENT_START - value: '{/*' - - name: TM_COMMENT_END - value: '*/}' diff --git a/JSX (Inner).tmPreferences b/JSX (Inner).tmPreferences deleted file mode 100644 index 168af83..0000000 --- a/JSX (Inner).tmPreferences +++ /dev/null @@ -1,28 +0,0 @@ - - - - - name - JSX - scope - source.js meta.jsx.js - meta.embedded.expression - settings - - shellVariables - - - name - TM_COMMENT_START - value - {/* - - - name - TM_COMMENT_END - value - */} - - - - - diff --git a/JavaScript (Babel).sublime-syntax b/JavaScript (Babel).sublime-syntax index f20ac3e..83054d8 100644 --- a/JavaScript (Babel).sublime-syntax +++ b/JavaScript (Babel).sublime-syntax @@ -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 diff --git a/support/Comments.tmPreferences b/support/Comments.tmPreferences index f16fa66..71a87cf 100644 --- a/support/Comments.tmPreferences +++ b/support/Comments.tmPreferences @@ -1,10 +1,8 @@ - name - Comments scope - source.js, source.json + source.js, source.jsx, source.ts, source.tsx, meta.jsx meta.tag.name, meta.jsx meta.tag.attributes settings shellVariables diff --git a/support/JSX Comments.tmPreferences b/support/JSX Comments.tmPreferences new file mode 100644 index 0000000..f1239d3 --- /dev/null +++ b/support/JSX Comments.tmPreferences @@ -0,0 +1,28 @@ + + + + + name + JSX Comments + scope + meta.jsx + settings + + shellVariables + + + name + TM_COMMENT_START + value + {/* + + + name + TM_COMMENT_END + value + */} + + + + +