diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-31 17:59:59 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-31 17:59:59 +0000 |
commit | e4d217074d1f2c922cf8c5a247ca05fa06b0b7ed (patch) | |
tree | 1df182b9755a83c460c928ad8a0bf5ff76548e3c /editors/code/src/inlay_hints.ts | |
parent | c8b98c46675396c4f9d26c6b001e01c81d84b89e (diff) | |
parent | ff0ceb30a9ab4162d0f1241d8b0f9aa531c3c9d2 (diff) |
Merge #2711
2711: Add semicolons r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors/code/src/inlay_hints.ts')
-rw-r--r-- | editors/code/src/inlay_hints.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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) { | |||
19 | hintsUpdater.setEnabled(ctx.config.displayInlayHints); | 19 | hintsUpdater.setEnabled(ctx.config.displayInlayHints); |
20 | }, ctx.subscriptions); | 20 | }, ctx.subscriptions); |
21 | 21 | ||
22 | ctx.onDidRestart(_ => hintsUpdater.setEnabled(ctx.config.displayInlayHints)) | 22 | ctx.onDidRestart(_ => hintsUpdater.setEnabled(ctx.config.displayInlayHints)); |
23 | } | 23 | } |
24 | 24 | ||
25 | interface InlayHintsParams { | 25 | interface InlayHintsParams { |
@@ -96,7 +96,7 @@ class HintsUpdater { | |||
96 | 96 | ||
97 | private async queryHints(documentUri: string): Promise<InlayHint[] | null> { | 97 | private async queryHints(documentUri: string): Promise<InlayHint[] | null> { |
98 | let client = this.ctx.client; | 98 | let client = this.ctx.client; |
99 | if (!client) return null | 99 | if (!client) return null; |
100 | const request: InlayHintsParams = { | 100 | const request: InlayHintsParams = { |
101 | textDocument: { uri: documentUri }, | 101 | textDocument: { uri: documentUri }, |
102 | }; | 102 | }; |