Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
f83d40f1
V
vscode
项目概览
掘金者说
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f83d40f1
编写于
9月 08, 2016
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated scss.json to atom/language-sass@b0417d1 (2016-08-09)
上级
68c197a0
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
324 addition
and
257 deletion
+324
-257
extensions/scss/syntaxes/scss.json
extensions/scss/syntaxes/scss.json
+117
-61
extensions/scss/test/colorize-results/test-cssvariables_scss.json
...ns/scss/test/colorize-results/test-cssvariables_scss.json
+2
-13
extensions/scss/test/colorize-results/test_scss.json
extensions/scss/test/colorize-results/test_scss.json
+205
-183
未找到文件。
extensions/scss/syntaxes/scss.json
浏览文件 @
f83d40f1
...
...
@@ -155,7 +155,7 @@
"name"
:
"meta.at-rule.else.scss"
,
"patterns"
:
[
{
"include"
:
"#
logic
al_operators"
"include"
:
"#
condition
al_operators"
},
{
"include"
:
"#variable"
...
...
@@ -295,7 +295,7 @@
"name"
:
"meta.at-rule.if.scss"
,
"patterns"
:
[
{
"include"
:
"#
logic
al_operators"
"include"
:
"#
condition
al_operators"
},
{
"include"
:
"#variable"
...
...
@@ -388,53 +388,105 @@
]
},
"at_rule_keyframes"
:
{
"begin"
:
"(?<=^|
\\
s)(@)(?:-(?:webkit|moz)-)?keyframes
\\
b"
,
"beginCaptures"
:
{
"0"
:
{
"name"
:
"keyword.control.at-rule.keyframes.scss"
},
"1"
:
{
"name"
:
"punctuation.definition.keyword.scss"
}
},
"end"
:
"(?<=})"
,
"name"
:
"meta.at-rule.keyframes.scss"
,
"patterns"
:
[
{
"
begin"
:
"^
\\
s*((@)(-[
\\
w-]*-)?keyframes
\\
b)
\\
s*([
\\
w-
]*)"
,
"
match"
:
"(?<=@keyframes)
\\
s+((?:[_A-Za-z][-
\\
w]|-[_A-Za-z])[-
\\
w
]*)"
,
"captures"
:
{
"1"
:
{
"name"
:
"keyword.control.at-rule.keyframes.scss"
},
"2"
:
{
"name"
:
"punctuation.definition.keyword.scss"
"name"
:
"entity.name.function.scss"
}
}
},
{
"begin"
:
"(?<=@keyframes)
\\
s+(
\"
)"
,
"beginCaptures"
:
{
"1"
:
{
"name"
:
"punctuation.definition.string.begin.scss"
}
},
"end"
:
"
\"
"
,
"endCaptures"
:
{
"0"
:
{
"name"
:
"punctuation.definition.string.end.scss"
}
},
"name"
:
"string.quoted.double.scss"
,
"contentName"
:
"entity.name.function.scss"
,
"patterns"
:
[
{
"match"
:
"
\\\\
(
\\
h{1,6}|.)"
,
"name"
:
"constant.character.escape.scss"
},
"3"
:
{
"name"
:
"punctuation.definition.keyword.scss"
{
"include"
:
"#interpolation"
}
]
},
{
"begin"
:
"(?<=@keyframes)
\\
s+(')"
,
"beginCaptures"
:
{
"1"
:
{
"name"
:
"punctuation.definition.string.begin.scss"
}
},
"end"
:
"'"
,
"endCaptures"
:
{
"0"
:
{
"name"
:
"punctuation.definition.string.end.scss"
}
},
"name"
:
"string.quoted.single.scss"
,
"contentName"
:
"entity.name.function.scss"
,
"patterns"
:
[
{
"match"
:
"
\\\\
(
\\
h{1,6}|.)"
,
"name"
:
"constant.character.escape.scss"
},
"4"
:
{
"name"
:
"entity.name.function.scss"
{
"include"
:
"#interpolation"
}
]
},
{
"begin"
:
"{"
,
"beginCaptures"
:
{
"0"
:
{
"name"
:
"punctuation.section.keyframes.begin.scss"
}
},
"end"
:
"}"
,
"endCaptures"
:
{
"0"
:
{
"name"
:
"punctuation.section.keyframes.end.scss"
}
},
"comment"
:
"Keyframes with Attributes"
,
"end"
:
"(?<=})(?:
\\
s*$)?"
,
"name"
:
"meta.at-rule.keyframes.scss"
,
"patterns"
:
[
{
"begin"
:
"{"
,
"end"
:
"}"
,
"beginCaptures"
:
{
"0"
:
{
"name"
:
"punctuation.section.keyframes.begin.scss"
}
},
"endCaptures"
:
{
"0"
:
{
"name"
:
"punctuation.section.keyframes.end.scss"
}
},
"name"
:
"meta.keyframes.scss"
,
"patterns"
:
[
{
"match"
:
"(
\\
b(
\\
d+%|from
\\
b|to
\\
b))"
,
"name"
:
"entity.other.attribute-name.scss"
},
{
"include"
:
"#interpolation"
},
{
"include"
:
"#property_list"
}
]
"match"
:
"
\\
b(?:(?:100|[1-9]
\\
d|
\\
d)%|from|to)(?=
\\
s*{)"
,
"name"
:
"entity.other.attribute-name.scss"
},
{
"include"
:
"#flow_control"
},
{
"include"
:
"#interpolation"
},
{
"include"
:
"#property_list"
},
{
"include"
:
"#rules"
}
]
}
...
...
@@ -469,7 +521,7 @@
"include"
:
"#variable"
},
{
"include"
:
"#
logic
al_operators"
"include"
:
"#
condition
al_operators"
},
{
"include"
:
"#media_types"
...
...
@@ -665,29 +717,23 @@
]
},
"at_rule_supports"
:
{
"begin"
:
"(
(@)supports)
\\
b"
,
"begin"
:
"(
?<=^|
\\
s)(@)supports
\\
b"
,
"captures"
:
{
"
1
"
:
{
"
0
"
:
{
"name"
:
"keyword.control.at-rule.supports.scss"
},
"
2
"
:
{
"
1
"
:
{
"name"
:
"punctuation.definition.keyword.scss"
}
},
"end"
:
"(?={
|$)
"
,
"end"
:
"(?={
)|$
"
,
"name"
:
"meta.at-rule.supports.scss"
,
"patterns"
:
[
{
"include"
:
"#logical_operators"
},
{
"include"
:
"#constant_property_value"
},
{
"include"
:
"#property_names"
},
{
"include"
:
"#property_values"
"include"
:
"#properties"
},
{
"match"
:
"
\\
("
,
...
...
@@ -696,10 +742,6 @@
{
"match"
:
"
\\
)"
,
"name"
:
"punctuation.definition.condition.end.bracket.round.scss"
},
{
"match"
:
":"
,
"name"
:
"punctuation.separator.key-value.scss"
}
]
},
...
...
@@ -741,7 +783,7 @@
"name"
:
"meta.at-rule.while.scss"
,
"patterns"
:
[
{
"include"
:
"#
logic
al_operators"
"include"
:
"#
condition
al_operators"
},
{
"include"
:
"#variable"
...
...
@@ -1034,9 +1076,23 @@
}
]
},
"conditional_operators"
:
{
"patterns"
:
[
{
"include"
:
"#comparison_operators"
},
{
"include"
:
"#logical_operators"
}
]
},
"comparison_operators"
:
{
"match"
:
"==|!=|<=|>=|<|>"
,
"name"
:
"keyword.operator.comparison.scss"
},
"logical_operators"
:
{
"match"
:
"
\\
b(
==|!=|<=|>=|<|>|not|or|and)
\\
b
"
,
"name"
:
"keyword.
control.operator
"
"match"
:
"
\\
b(
not
\\
b|or
\\
b|and
\\
b)
"
,
"name"
:
"keyword.
operator.logical.scss
"
},
"map"
:
{
"begin"
:
"
\\
("
,
...
...
@@ -1190,7 +1246,7 @@
}
},
"comment"
:
"Kuroir: fixed nested elements for sass."
,
"end"
:
"
\\
s*(;|(?=}))"
,
"end"
:
"
\\
s*(;|(?=}
|
\\
)
))"
,
"endCaptures"
:
{
"1"
:
{
"name"
:
"punctuation.terminator.rule.scss"
...
...
@@ -1386,7 +1442,7 @@
]
},
"selector_entities"
:
{
"match"
:
"
\\
b(a|abbr|acronym|address|area|article|aside|audio|b|base|bdi|bdo|big|blockquote|body|br|button|canvas|caption|circle|cite|code|col|colgroup|data|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|g|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|image|input|ins|kbd|keygen|label|legend|li|line(?!-)|link|main|map|mark|menu|menuitem|meta|meter|nav|noframes|noscript|object(?!-)|ol|optgroup|option|output|p|param|path|picture|polygon|polyline|pre|progress|q|rb|rect|rp|rt|rtc|ruby|s|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|svg|table(?!-)|tbody|td|template|text(?!-)|textarea|textpath|tfoot|th|thead|time|title|tr|track|tspan|tt|u|ul|var|video|wbr)
\\
b"
,
"match"
:
"
\\
b(a|abbr|acronym|address|area|article|aside|audio|b|base|bdi|bdo|big|blockquote|body|br|button|canvas|caption|circle|cite|code|col|colgroup|data|datalist|dd|del|details|dfn|dialog|div|dl|dt|e
llipse|e
m|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|g|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|image|input|ins|kbd|keygen|label|legend|li|line(?!-)|link|main|map|mark|menu|menuitem|meta|meter|nav|noframes|noscript|object(?!-)|ol|optgroup|option|output|p|param|path|picture|polygon|polyline|pre|progress|q|rb|rect|rp|rt|rtc|ruby|s|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|svg|table(?!-)|tbody|td|template|text(?!-)|textarea|textpath|tfoot|th|thead|time|title|tr|track|tspan|tt|u|ul|var|video|wbr)
\\
b"
,
"name"
:
"entity.name.tag.scss"
},
"selector_custom"
:
{
...
...
@@ -1612,5 +1668,5 @@
"name"
:
"variable.scss"
}
},
"version"
:
"https://github.com/atom/language-sass/commit/
38b8d07b0e5edc8ac1e3ac1e370a208e838fc198
"
"version"
:
"https://github.com/atom/language-sass/commit/
b0417d1412a9169562f637133099fe2bb841a735
"
}
\ No newline at end of file
extensions/scss/test/colorize-results/test-cssvariables_scss.json
浏览文件 @
f83d40f1
...
...
@@ -264,19 +264,8 @@
}
},
{
"c"
:
")"
,
"t"
:
"meta.property-list.property-value.scss"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
";"
,
"t"
:
"meta.property-list.punctuation.rule.scss.terminator"
,
"c"
:
");"
,
"t"
:
"meta.property-list.scss"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
extensions/scss/test/colorize-results/test_scss.json
浏览文件 @
f83d40f1
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录