Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Add missing patch for #5368
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Dec 17, 2022
1 parent 5385031 commit 6faa4f5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions beta/patches/@codemirror+lang-javascript+0.19.6.patch
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
diff --git a/node_modules/@codemirror/lang-javascript/dist/index.cjs b/node_modules/@codemirror/lang-javascript/dist/index.cjs
index 4475e4f..e1255c9 100644
--- a/node_modules/@codemirror/lang-javascript/dist/index.cjs
+++ b/node_modules/@codemirror/lang-javascript/dist/index.cjs
@@ -135,7 +135,9 @@ const javascriptLanguage = language.LRLanguage.define({
JSXText: highlight.tags.content,
"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag": highlight.tags.angleBracket,
"JSXIdentifier JSXNameSpacedName": highlight.tags.tagName,
- "JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": highlight.tags.attributeName
+ "JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": highlight.tags.attributeName,
+ "JSXAttribute/JSXLowerIdentifier JSXAttribute/JSXNameSpacedName": highlight.tags.attributeName,
+ "JSXBuiltin/JSXIdentifier": highlight.tags.standard(highlight.tags.tagName)
})
]
}),
diff --git a/node_modules/@codemirror/lang-javascript/dist/index.js b/node_modules/@codemirror/lang-javascript/dist/index.js
index d089f6b..db09ea6 100644
--- a/node_modules/@codemirror/lang-javascript/dist/index.js
Expand Down

0 comments on commit 6faa4f5

Please sign in to comment.