vscode: fix stupid mistake

This commit is contained in:
Veetaha 2020-02-16 19:30:13 +02:00
parent 77d27c67c1
commit 6e22e33d7d

View file

@ -13,7 +13,7 @@ export function activateInlayHints(ctx: Ctx) {
vscode.workspace.onDidChangeTextDocument(
async event => {
if (event.contentChanges.length !== 0) return;
if (event.contentChanges.length === 0) return;
if (event.document.languageId !== 'rust') return;
await hintsUpdater.refresh();
},