mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Remove a few left over TODOs
This commit is contained in:
parent
87864636a3
commit
776384e14e
2 changed files with 4 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue