Remove a few left over TODOs

pull/2748/head
Alex Dima 5 years ago
parent 87864636a3
commit 776384e14e
No known key found for this signature in database
GPG Key ID: 6E58D7B045760DA0

@ -468,7 +468,7 @@ testTokenization('scala', [
line: '3_.1415F',
tokens: [
{ startIndex: 0, type: 'number.scala' },
{ startIndex: 1, type: 'keyword.scala' }, // TODO
{ startIndex: 1, type: 'keyword.scala' },
{ startIndex: 2, type: 'delimiter.scala' },
{ startIndex: 3, type: 'number.float.scala' }
]
@ -479,7 +479,7 @@ testTokenization('scala', [
tokens: [
{ startIndex: 0, type: 'number.scala' },
{ startIndex: 1, type: 'operator.scala' },
{ startIndex: 2, type: 'keyword.flow.scala' } // TODO
{ startIndex: 2, type: 'identifier.scala' }
]
}],
@ -495,7 +495,7 @@ testTokenization('scala', [
line: '52_',
tokens: [
{ startIndex: 0, type: 'number.scala' },
{ startIndex: 2, type: 'keyword.scala' } // TODO
{ startIndex: 2, type: 'keyword.scala' }
]
}],

@ -140,7 +140,7 @@ export const language = <ILanguage>{
[/\bva[lr]\b/, 'keyword', '@vardef'],
[/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/, ['keyword', 'white', 'identifier']],
[/@name(?=[ \t]*:(?!:))/, 'variable'],
[/(\.)(@name|@symbols)/, ['operator', {token: 'keyword.flow', next: '@allowMethod'}]],
[/(\.)(@name|@symbols)/, ['operator', {token: '@rematch', next: '@allowMethod'}]],
[/([{(])(\s*)(@name(?=\s*=>))/, ['@brackets', 'white', 'variable']],
[/@name/, {cases: {
'@keywords': 'keyword',

Loading…
Cancel
Save