Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
72cb93c6
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
72cb93c6
编写于
5月 18, 2017
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[html] update grammar
上级
8ae8cd5b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
60 addition
and
34 deletion
+60
-34
extensions/html/syntaxes/html.json
extensions/html/syntaxes/html.json
+8
-4
extensions/html/test/colorize-results/25920_html.json
extensions/html/test/colorize-results/25920_html.json
+52
-30
未找到文件。
extensions/html/syntaxes/html.json
浏览文件 @
72cb93c6
...
...
@@ -339,7 +339,7 @@
},
{
"begin"
:
"
\\
G"
,
"end"
:
"(?i:(?=/?>|type
\\
s*=
\\
s*('|
\"
|)(?!text/(javascript|ecmascript)|application/((x-)?javascript|ecmascript)|module)
\\
b
))"
,
"end"
:
"(?i:(?=/?>|type
(?=[
\\
s=])(?!
\\
s*=
\\
s*('|
\"
|)(text/(javascript|ecmascript|babel)|application/((x-)?javascript|ecmascript|babel)|module)[
\\
s
\"
'>])
))"
,
"name"
:
"meta.tag.metadata.script.html"
,
"patterns"
:
[
{
...
...
@@ -348,14 +348,17 @@
]
},
{
"begin"
:
"(?=(?i:type
\\
s*=
\\
s*('|
\"
|)(
?=text/(x-handlebars|(x-(handlebars-)?|ng-)?template|html))
\\
b
))"
,
"end"
:
"(
<
)(?=/(?i:script))"
,
"begin"
:
"(?=(?i:type
\\
s*=
\\
s*('|
\"
|)(
text/(x-handlebars|(x-(handlebars-)?|ng-)?template|html)[
\\
s
\"
'>])
))"
,
"end"
:
"(
(<)
)(?=/(?i:script))"
,
"endCaptures"
:
{
"0"
:
{
"name"
:
"meta.tag.metadata.script.html"
},
"1"
:
{
"name"
:
"punctuation.definition.tag.begin.html"
},
"2"
:
{
"name"
:
"text.html.basic"
}
},
"patterns"
:
[
...
...
@@ -377,6 +380,7 @@
{
"begin"
:
"(?!
\\
G)"
,
"end"
:
"(?=</(?i:script))"
,
"name"
:
"text.html.basic"
,
"patterns"
:
[
{
"include"
:
"text.html.basic"
...
...
@@ -739,5 +743,5 @@
},
"scopeName"
:
"text.html.basic"
,
"uuid"
:
"17994EC8-6B1D-11D9-AC3A-000D93589AF6"
,
"version"
:
"https://github.com/textmate/html.tmbundle/commit/
d66526c5f6b6080358d7bf648654165a4fabf71
3"
"version"
:
"https://github.com/textmate/html.tmbundle/commit/
a723f08ebd49c67c22aca08dd8f17d0bf836ec9
3"
}
\ No newline at end of file
extensions/html/test/colorize-results/25920_html.json
浏览文件 @
72cb93c6
...
...
@@ -133,7 +133,7 @@
},
{
"c"
:
"
\t
"
,
"t"
:
"text.html.basic meta.embedded.block.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
...
...
@@ -144,7 +144,7 @@
},
{
"c"
:
"<"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html punctuation.definition.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html punctuation.definition.tag.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
...
...
@@ -155,7 +155,7 @@
},
{
"c"
:
"div"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html entity.name.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html entity.name.tag.html"
,
"r"
:
{
"dark_plus"
:
"entity.name.tag: #569CD6"
,
"light_plus"
:
"entity.name.tag: #800000"
,
...
...
@@ -166,7 +166,7 @@
},
{
"c"
:
" "
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
...
...
@@ -177,7 +177,7 @@
},
{
"c"
:
"class"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html entity.other.attribute-name.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html entity.other.attribute-name.html"
,
"r"
:
{
"dark_plus"
:
"entity.other.attribute-name: #9CDCFE"
,
"light_plus"
:
"entity.other.attribute-name: #FF0000"
,
...
...
@@ -188,7 +188,7 @@
},
{
"c"
:
"="
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
...
...
@@ -199,7 +199,7 @@
},
{
"c"
:
"'"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html string.quoted.single.html punctuation.definition.string.begin.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html string.quoted.single.html punctuation.definition.string.begin.html"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string.quoted.single.html: #0000FF"
,
...
...
@@ -210,7 +210,7 @@
},
{
"c"
:
"foo"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html string.quoted.single.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html string.quoted.single.html"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string.quoted.single.html: #0000FF"
,
...
...
@@ -221,7 +221,7 @@
},
{
"c"
:
"'"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html string.quoted.single.html punctuation.definition.string.end.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html string.quoted.single.html punctuation.definition.string.end.html"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string.quoted.single.html: #0000FF"
,
...
...
@@ -232,7 +232,7 @@
},
{
"c"
:
">"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html punctuation.definition.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html punctuation.definition.tag.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
...
...
@@ -243,7 +243,7 @@
},
{
"c"
:
"<"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html punctuation.definition.tag.html meta.scope.between-tag-pair.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html punctuation.definition.tag.html meta.scope.between-tag-pair.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
...
...
@@ -254,7 +254,7 @@
},
{
"c"
:
"/"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html punctuation.definition.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html punctuation.definition.tag.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
...
...
@@ -265,7 +265,7 @@
},
{
"c"
:
"div"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html entity.name.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html entity.name.tag.html"
,
"r"
:
{
"dark_plus"
:
"entity.name.tag: #569CD6"
,
"light_plus"
:
"entity.name.tag: #800000"
,
...
...
@@ -276,7 +276,7 @@
},
{
"c"
:
">"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html punctuation.definition.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html punctuation.definition.tag.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
...
...
@@ -286,7 +286,18 @@
}
},
{
"c"
:
"</"
,
"c"
:
"<"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.metadata.script.html punctuation.definition.tag.begin.html text.html.basic"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
"dark_vs"
:
"punctuation.definition.tag: #808080"
,
"light_vs"
:
"punctuation.definition.tag: #800000"
,
"hc_black"
:
"punctuation.definition.tag: #808080"
}
},
{
"c"
:
"/"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.metadata.script.html punctuation.definition.tag.begin.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
...
...
@@ -661,7 +672,7 @@
},
{
"c"
:
"
\t
"
,
"t"
:
"text.html.basic meta.embedded.block.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
...
...
@@ -672,7 +683,7 @@
},
{
"c"
:
"<"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html punctuation.definition.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html punctuation.definition.tag.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
...
...
@@ -683,7 +694,7 @@
},
{
"c"
:
"div"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html entity.name.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html entity.name.tag.html"
,
"r"
:
{
"dark_plus"
:
"entity.name.tag: #569CD6"
,
"light_plus"
:
"entity.name.tag: #800000"
,
...
...
@@ -694,7 +705,7 @@
},
{
"c"
:
" "
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
...
...
@@ -705,7 +716,7 @@
},
{
"c"
:
"class"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html entity.other.attribute-name.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html entity.other.attribute-name.html"
,
"r"
:
{
"dark_plus"
:
"entity.other.attribute-name: #9CDCFE"
,
"light_plus"
:
"entity.other.attribute-name: #FF0000"
,
...
...
@@ -716,7 +727,7 @@
},
{
"c"
:
"="
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
...
...
@@ -727,7 +738,7 @@
},
{
"c"
:
"'"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html string.quoted.single.html punctuation.definition.string.begin.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html string.quoted.single.html punctuation.definition.string.begin.html"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string.quoted.single.html: #0000FF"
,
...
...
@@ -738,7 +749,7 @@
},
{
"c"
:
"foo"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html string.quoted.single.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html string.quoted.single.html"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string.quoted.single.html: #0000FF"
,
...
...
@@ -749,7 +760,7 @@
},
{
"c"
:
"'"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html string.quoted.single.html punctuation.definition.string.end.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html string.quoted.single.html punctuation.definition.string.end.html"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string.quoted.single.html: #0000FF"
,
...
...
@@ -760,7 +771,7 @@
},
{
"c"
:
">"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html punctuation.definition.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html punctuation.definition.tag.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
...
...
@@ -771,7 +782,7 @@
},
{
"c"
:
"<"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html punctuation.definition.tag.html meta.scope.between-tag-pair.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html punctuation.definition.tag.html meta.scope.between-tag-pair.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
...
...
@@ -782,7 +793,7 @@
},
{
"c"
:
"/"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html punctuation.definition.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html punctuation.definition.tag.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
...
...
@@ -793,7 +804,7 @@
},
{
"c"
:
"div"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html entity.name.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html entity.name.tag.html"
,
"r"
:
{
"dark_plus"
:
"entity.name.tag: #569CD6"
,
"light_plus"
:
"entity.name.tag: #800000"
,
...
...
@@ -804,7 +815,7 @@
},
{
"c"
:
">"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.any.html punctuation.definition.tag.html"
,
"t"
:
"text.html.basic meta.embedded.block.html
text.html.basic
meta.tag.any.html punctuation.definition.tag.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
...
...
@@ -814,7 +825,18 @@
}
},
{
"c"
:
"</"
,
"c"
:
"<"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.metadata.script.html punctuation.definition.tag.begin.html text.html.basic"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
"dark_vs"
:
"punctuation.definition.tag: #808080"
,
"light_vs"
:
"punctuation.definition.tag: #800000"
,
"hc_black"
:
"punctuation.definition.tag: #808080"
}
},
{
"c"
:
"/"
,
"t"
:
"text.html.basic meta.embedded.block.html meta.tag.metadata.script.html punctuation.definition.tag.begin.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录