From 6e22e33d7d4fee43e93ee43b24fa4fa0a7e769e7 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sun, 16 Feb 2020 19:30:13 +0200 Subject: vscode: fix stupid mistake --- editors/code/src/inlay_hints.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code') diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts index 1c019a51b..c317a9213 100644 --- a/editors/code/src/inlay_hints.ts +++ b/editors/code/src/inlay_hints.ts @@ -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(); }, -- cgit v1.2.3