refactor(lsp): remove async facade exports
This commit is contained in:
parent
21d7a85e76
commit
41f60d3b4b
1 changed files with 2 additions and 1 deletions
|
|
@ -15,10 +15,11 @@ import * as Effect from "effect/Effect"
|
|||
|
||||
export const InstanceBootstrap = Effect.gen(function* () {
|
||||
Log.Default.info("bootstrapping", { directory: Instance.directory })
|
||||
const lsp = yield* LSP.Service
|
||||
yield* Plugin.Service.use((svc) => svc.init())
|
||||
yield* ShareNext.Service.use((svc) => svc.init()).pipe(Effect.forkDetach)
|
||||
yield* Format.Service.use((svc) => svc.init()).pipe(Effect.forkDetach)
|
||||
yield* LSP.Service.use((svc) => svc.init())
|
||||
yield* lsp.init()
|
||||
yield* File.Service.use((svc) => svc.init()).pipe(Effect.forkDetach)
|
||||
yield* FileWatcher.Service.use((svc) => svc.init()).pipe(Effect.forkDetach)
|
||||
yield* Vcs.Service.use((svc) => svc.init()).pipe(Effect.forkDetach)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue