1- import { Plugin } from "../plugin"
21import { Format } from "../format"
32import { LSP } from "@/lsp/lsp"
43import { File } from "../file"
54import { Snapshot } from "../snapshot"
65import * as Project from "./project"
76import * as Vcs from "./vcs"
87import { Bus } from "../bus"
8+ import { Plugin } from "../plugin"
99import { InstanceState } from "@/effect/instance-state"
1010import { FileWatcher } from "@/file/watcher"
1111import { ShareNext } from "@/share/share-next"
@@ -27,7 +27,6 @@ export const layer = Layer.effect(
2727 const fileWatcher = yield * FileWatcher . Service
2828 const format = yield * Format . Service
2929 const lsp = yield * LSP . Service
30- const plugin = yield * Plugin . Service
3130 const project = yield * Project . Service
3231 const shareNext = yield * ShareNext . Service
3332 const snapshot = yield * Snapshot . Service
@@ -38,8 +37,6 @@ export const layer = Layer.effect(
3837 yield * Effect . logInfo ( "bootstrapping" , { directory : ctx . directory } )
3938 // everything depends on config so eager load it for nice traces
4039 yield * config . get ( )
41- // Plugin can mutate config so it has to be initialized before anything else.
42- yield * plugin . init ( )
4340 // Each service self-manages its own slow work via Effect.forkScoped against
4441 // its per-instance state scope. We just await materialization here.
4542 yield * Effect . forEach (
0 commit comments