mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Fix lint
This commit is contained in:
parent
356395139c
commit
cfa5afa02d
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ export async function createClient(config: Config, serverPath: string): Promise<
|
|||
middleware: {
|
||||
// Workaround for https://github.com/microsoft/vscode-languageserver-node/issues/576
|
||||
async provideDocumentSemanticTokens(document: vscode.TextDocument, token: vscode.CancellationToken, next: DocumentSemanticsTokensSignature) {
|
||||
let res = await next(document, token);
|
||||
const res = await next(document, token);
|
||||
if (res === undefined) throw new Error('busy');
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue