diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-16 17:40:23 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-16 17:40:23 +0000 |
commit | a90f5b07875e73554b665d74ec661325df1755a7 (patch) | |
tree | db2b998115e051dc19d0d3053eb11b24c09c2660 /editors/code | |
parent | 10f910df4bf2e3cf923b7823c2873d3b06313699 (diff) | |
parent | 6e22e33d7d4fee43e93ee43b24fa4fa0a7e769e7 (diff) |
Merge #3173
3173: vscode: fix stupid mistake of mine r=matklad a=Veetaha
Shame on me...
Fixes #3056
Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/src/inlay_hints.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
13 | 13 | ||
14 | vscode.workspace.onDidChangeTextDocument( | 14 | vscode.workspace.onDidChangeTextDocument( |
15 | async event => { | 15 | async event => { |
16 | if (event.contentChanges.length !== 0) return; | 16 | if (event.contentChanges.length === 0) return; |
17 | if (event.document.languageId !== 'rust') return; | 17 | if (event.document.languageId !== 'rust') return; |
18 | await hintsUpdater.refresh(); | 18 | await hintsUpdater.refresh(); |
19 | }, | 19 | }, |