From 0bb8ccbb5e78d0a2083037dae0983e5acbfe8f92 Mon Sep 17 00:00:00 2001 From: Andrew Hyndman Date: Tue, 14 Nov 2017 14:24:05 +1100 Subject: [PATCH] fix(syntax): fix for javascriptReact scope change VSCode recently changed the scope for javascriptReact to be `source.js.jsx` from `source.jsx`. Closes #53. --- package.json | 2 +- syntaxes/graphql.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bb51c8f..50aa39e 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "injectTo": [ "source.js", "source.ts", - "source.jsx", + "source.js.jsx", "source.tsx" ], "scopeName": "inline.graphql", diff --git a/syntaxes/graphql.json b/syntaxes/graphql.json index e6aa0be..a749d77 100644 --- a/syntaxes/graphql.json +++ b/syntaxes/graphql.json @@ -602,7 +602,7 @@ "patterns": [ { "include": "source.js" }, { "include": "source.ts" }, - { "include": "source.jsx" }, + { "include": "source.js.jsx" }, { "include": "source.tsx" } ] },