Skip to content

Commit

Permalink
Fix service injection issue
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew committed Dec 11, 2024
1 parent 1409e5d commit 325db9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/langium/src/lsp/default-lsp-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export function createDefaultSharedLSPModule(context: DefaultSharedModuleContext
},
workspace: {
TextDocuments: () => new NormalizedTextDocuments(TextDocument),
NotebookDocuments: () => new NormalizedNotebookDocuments(TextDocument)
NotebookDocuments: (services) => new NormalizedNotebookDocuments(services.workspace.TextDocuments)
}
};
}

0 comments on commit 325db9e

Please sign in to comment.