mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
vscode: fix stupid mistake
This commit is contained in:
parent
77d27c67c1
commit
6e22e33d7d
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export function activateInlayHints(ctx: Ctx) {
|
||||||
|
|
||||||
vscode.workspace.onDidChangeTextDocument(
|
vscode.workspace.onDidChangeTextDocument(
|
||||||
async event => {
|
async event => {
|
||||||
if (event.contentChanges.length !== 0) return;
|
if (event.contentChanges.length === 0) return;
|
||||||
if (event.document.languageId !== 'rust') return;
|
if (event.document.languageId !== 'rust') return;
|
||||||
await hintsUpdater.refresh();
|
await hintsUpdater.refresh();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue