aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-16 17:30:13 +0000
committerVeetaha <[email protected]>2020-02-16 17:30:13 +0000
commit6e22e33d7d4fee43e93ee43b24fa4fa0a7e769e7 (patch)
tree3572c55ee534643114570f9320f4cc61dce8de32 /editors
parent77d27c67c1dadce4abe7a6a97c0b73eaa3706e60 (diff)
vscode: fix stupid mistake
Diffstat (limited to 'editors')
-rw-r--r--editors/code/src/inlay_hints.ts2
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 },