Skip to content

Commit cede9e0

Browse files
committed
Add EnhancedWorkspacePlugin
1 parent a4439e6 commit cede9e0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Core/Sources/Service/Service.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Foundation
22
#if canImport(KeyBindingManager)
3+
import EnhancedWorkspace
34
import KeyBindingManager
45
#endif
56
import Workspace
@@ -16,9 +17,10 @@ public final class Service {
1617
@WorkspaceActor
1718
let workspacePool = {
1819
let it = WorkspacePool()
19-
it.registerPlugin {
20-
SuggestionServiceWorkspacePlugin(workspace: $0)
21-
}
20+
it.registerPlugin { SuggestionServiceWorkspacePlugin(workspace: $0) }
21+
#if canImport(EnhancedWorkspace)
22+
it.registerPlugin { EnhancedWorkspacePlugin(workspace: $0) }
23+
#endif
2224
return it
2325
}()
2426

Pro

Submodule Pro updated from 90d5c1c to 9d3f8ae

0 commit comments

Comments
 (0)