mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
Rework how markdown server works with documents (#160948)
* Rework how markdown server works with documents This rewrites how the markdown server works with documents. The goal is to better handle switching between in-memory versions of a doc (from `TextDocument`) and versions of the same doc on disk. From the markdown service's POV, there is only one type of document As part of this, I've also adopted the newest markdown language service version * Bump package-lock versions
This commit is contained in:
@@ -79,7 +79,7 @@ export async function startServer(connection: Connection, serverConfig: {
|
||||
});
|
||||
|
||||
registerCompletionsSupport(connection, documents, mdLs, configurationManager);
|
||||
registerValidateSupport(connection, workspace, mdLs, configurationManager, serverConfig.logger);
|
||||
registerValidateSupport(connection, workspace, documents, mdLs, configurationManager, serverConfig.logger);
|
||||
|
||||
return {
|
||||
capabilities: {
|
||||
|
||||
Reference in New Issue
Block a user