mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
while -> for
This commit is contained in:
@@ -89,8 +89,7 @@ class DocumentSemanticTokensProvider implements vscode.DocumentSemanticTokensPro
|
||||
const tokenSpan = response.body.spans;
|
||||
|
||||
const builder = new vscode.SemanticTokensBuilder();
|
||||
let i = 0;
|
||||
while (i < tokenSpan.length) {
|
||||
for (let i = 0; i < tokenSpan.length;) {
|
||||
const offset = tokenSpan[i++];
|
||||
const length = tokenSpan[i++];
|
||||
const tsClassification = tokenSpan[i++];
|
||||
|
||||
Reference in New Issue
Block a user