aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/inlay_hints.ts
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-17 12:40:20 +0000
committerAleksey Kladov <[email protected]>2020-02-17 12:40:47 +0000
commitd24e612106867c4bb6a1e59bf99aabfb7bc27823 (patch)
treedf40b6265f303b8fba5f804a7f7ff370e844dea0 /editors/code/src/inlay_hints.ts
parentdcdbbddd1630a4ed01906c2aff0e2b65ed99a591 (diff)
Simplify startup
Diffstat (limited to 'editors/code/src/inlay_hints.ts')
-rw-r--r--editors/code/src/inlay_hints.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index 9e400fabe..55bbd7f00 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -33,9 +33,9 @@ export function activateInlayHints(ctx: Ctx) {
33 } 33 }
34 }) 34 })
35 35
36 // We pass async function though it will not be awaited when called, 36 // XXX: we don't await this, thus Promise rejections won't be handled, but
37 // thus Promise rejections won't be handled, but this should never throw in fact... 37 // this should never throw in fact...
38 ctx.onStart(async _ => hintsUpdater.setEnabled(ctx.config.displayInlayHints)); 38 hintsUpdater.setEnabled(ctx.config.displayInlayHints)
39} 39}
40 40
41interface InlayHintsParams { 41interface InlayHintsParams {