From ff0ceb30a9ab4162d0f1241d8b0f9aa531c3c9d2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Dec 2019 18:55:34 +0100 Subject: Add semicolons --- editors/code/src/inlay_hints.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/code/src/inlay_hints.ts') diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts index e74d6996f..6dd767d72 100644 --- a/editors/code/src/inlay_hints.ts +++ b/editors/code/src/inlay_hints.ts @@ -19,7 +19,7 @@ export function activateInlayHints(ctx: Ctx) { hintsUpdater.setEnabled(ctx.config.displayInlayHints); }, ctx.subscriptions); - ctx.onDidRestart(_ => hintsUpdater.setEnabled(ctx.config.displayInlayHints)) + ctx.onDidRestart(_ => hintsUpdater.setEnabled(ctx.config.displayInlayHints)); } interface InlayHintsParams { @@ -96,7 +96,7 @@ class HintsUpdater { private async queryHints(documentUri: string): Promise { let client = this.ctx.client; - if (!client) return null + if (!client) return null; const request: InlayHintsParams = { textDocument: { uri: documentUri }, }; -- cgit v1.2.3