We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4439e6 commit cede9e0Copy full SHA for cede9e0
Core/Sources/Service/Service.swift
@@ -1,5 +1,6 @@
1
import Foundation
2
#if canImport(KeyBindingManager)
3
+import EnhancedWorkspace
4
import KeyBindingManager
5
#endif
6
import Workspace
@@ -16,9 +17,10 @@ public final class Service {
16
17
@WorkspaceActor
18
let workspacePool = {
19
let it = WorkspacePool()
- it.registerPlugin {
20
- SuggestionServiceWorkspacePlugin(workspace: $0)
21
- }
+ it.registerPlugin { SuggestionServiceWorkspacePlugin(workspace: $0) }
+ #if canImport(EnhancedWorkspace)
22
+ it.registerPlugin { EnhancedWorkspacePlugin(workspace: $0) }
23
+ #endif
24
return it
25
}()
26
Pro
0 commit comments