Skip to content

Commit 52a41f4

Browse files
lauigiyyx990803
authored andcommitted
add support for script tag type text/ecmascript (#100)
1 parent f87459f commit 52a41f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vue.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ patterns:
248248
- include: source.livescript
249249

250250
- name: source.js.embedded.html
251-
begin: (<)((?i:script))\b(?![^>]*/>)(?![^>]*(?i:type.?=.?text/((?!javascript|babel).*)))
251+
begin: (<)((?i:script))\b(?![^>]*/>)(?![^>]*(?i:type.?=.?text/((?!javascript|babel|ecmascript).*)))
252252
beginCaptures:
253253
'1': {name: punctuation.definition.tag.begin.html}
254254
'2': {name: entity.name.tag.script.html}

vue.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@
829829
</dict>
830830
<dict>
831831
<key>begin</key>
832-
<string>(&lt;)((?i:script))\b(?![^&gt;]*/&gt;)(?![^&gt;]*(?i:type.?=.?text/((?!javascript|babel).*)))</string>
832+
<string>(&lt;)((?i:script))\b(?![^&gt;]*/&gt;)(?![^&gt;]*(?i:type.?=.?text/((?!javascript|babel|ecmascript).*)))</string>
833833
<key>beginCaptures</key>
834834
<dict>
835835
<key>1</key>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy