[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

@@ -5,8 +5,7 @@
import 'mocha';
import * as assert from 'assert';
import * as embeddedSupport from '../modes/embeddedSupport';
import { TextDocument } from 'vscode-languageserver-types';
import { getLanguageService } from 'vscode-html-languageservice';
import { getLanguageService, TextDocument } from 'vscode-html-languageservice';
suite('HTML Embedded Support', () => {
@@ -123,4 +122,4 @@ suite('HTML Embedded Support', () => {
assertEmbeddedLanguageContent('<div onKeyUp="foo()" onkeydown="bar()"/>', 'javascript', ' foo(); bar(); ');
});
});
});