mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
[sass] color parameters same as variables (for #5528)
This commit is contained in:
parent
daecad3eca
commit
556c92c4d7
|
@ -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' },
|
||||
|
|
Loading…
Reference in a new issue