提交 556c92c4 编写于 作者: M Martin Aeschlimann

[sass] color parameters same as variables (for #5528)

上级 daecad3e
......@@ -203,7 +203,7 @@ export var language = <Types.ILanguage>{
],
parameterdeclaration: [
['\\$@identifier@ws:', sassTokenTypes.TOKEN_PROPERTY],
['\\$@identifier@ws:', 'variable'],
['\\.\\.\\.', 'keyword.operator'], // var args in declaration
[',', 'punctuation'],
{ include: '@term' },
......
......@@ -1299,7 +1299,7 @@ suite('Sass Colorizer', () => {
{ startIndex: 19, type: 'variable.ref.sass' },
{ startIndex: 25, type: 'punctuation.sass' },
{ startIndex: 26, type: '' },
{ startIndex: 27, type: sassTokenTypes.TOKEN_PROPERTY + '.sass' },
{ startIndex: 27, type: 'variable.sass' },
{ startIndex: 34, type: '' },
{ startIndex: 35, type: 'constant.numeric.sass' },
{ startIndex: 38, type: 'support.function.name.sass' },
......@@ -1574,7 +1574,7 @@ suite('Sass Colorizer', () => {
{ startIndex: 0, type: sassTokenTypes.TOKEN_AT_KEYWORD + '.sass' },
{ startIndex: 6, type: '' },
{ startIndex: 7, type: 'support.function.name.sass' },
{ startIndex: 13, type: sassTokenTypes.TOKEN_PROPERTY + '.sass' },
{ startIndex: 13, type: 'variable.sass' },
{ startIndex: 16, type: '' },
{ startIndex: 17, type: sassTokenTypes.TOKEN_VALUE + '.sass' },
{ startIndex: 22, type: 'support.function.name.sass' },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册