incremental text documents cause perf isssues

This commit is contained in:
Martin Aeschlimann 2019-07-07 22:27:00 +02:00
parent 1042d28f97
commit aa38607483
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ process.on('unhandledRejection', (e: any) => {
});
// Create a text document manager.
const documents: TextDocuments = new TextDocuments(TextDocumentSyncKind.Incremental);
const documents: TextDocuments = new TextDocuments();
// Make the text document manager listen on the connection
// for open, change and close text document events
documents.listen(connection);

View file

@ -39,7 +39,7 @@ process.on('uncaughtException', (e: any) => {
});
// Create a text document manager.
const documents: TextDocuments = new TextDocuments(TextDocumentSyncKind.Incremental);
const documents: TextDocuments = new TextDocuments();
// Make the text document manager listen on the connection
// for open, change and close text document events
documents.listen(connection);

View file

@ -106,7 +106,7 @@ let languageService = getLanguageService({
});
// Create a text document manager.
const documents: TextDocuments = new TextDocuments(TextDocumentSyncKind.Incremental);
const documents: TextDocuments = new TextDocuments();
// Make the text document manager listen on the connection
// for open, change and close text document events