diff options
| author | Veetaha <gerzoh1@gmail.com> | 2020-02-16 19:30:13 +0200 |
|---|---|---|
| committer | Veetaha <gerzoh1@gmail.com> | 2020-02-16 19:30:13 +0200 |
| commit | 6e22e33d7d4fee43e93ee43b24fa4fa0a7e769e7 (patch) | |
| tree | 3572c55ee534643114570f9320f4cc61dce8de32 /editors/code/src | |
| parent | 77d27c67c1dadce4abe7a6a97c0b73eaa3706e60 (diff) | |
| download | rust-6e22e33d7d4fee43e93ee43b24fa4fa0a7e769e7.tar.gz rust-6e22e33d7d4fee43e93ee43b24fa4fa0a7e769e7.zip | |
vscode: fix stupid mistake
Diffstat (limited to 'editors/code/src')
| -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 1c019a51bcc..c317a9213e9 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(); }, |
