Clear semantic tokens in case of errors/empty results

This commit is contained in:
Alexandru Dima
2019-11-07 15:40:06 +01:00
parent da52ac20d8
commit bdbe2e3612
5 changed files with 36 additions and 45 deletions

View File

@@ -102,7 +102,6 @@ class SemanticColoringProvider implements vscode.SemanticColoringProvider {
}
}
console.log(result);
return new vscode.SemanticColoring([new vscode.SemanticColoringArea(0, new Uint32Array(result))]);
}