[html] update to TextDocument and switch to incremental

This commit is contained in:
Martin Aeschlimann
2019-11-05 22:19:36 +01:00
parent c198ec2eac
commit 1476c4e20b
18 changed files with 89 additions and 83 deletions

View File

@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { TextDocument } from 'vscode-languageserver';
import { TextDocument } from 'vscode-html-languageservice';
export interface LanguageModelCache<T> {
get(document: TextDocument): T;
@@ -79,4 +79,4 @@ export function getLanguageModelCache<T>(maxEntries: number, cleanupIntervalTime
}
}
};
}
}