[html] add hover for tags and embedded css

This commit is contained in:
Martin Aeschlimann
2016-10-21 22:02:27 +02:00
parent 893ced4314
commit 1b2478dd2b
6 changed files with 62 additions and 7 deletions

View File

@@ -599,7 +599,7 @@ export class Hover {
constructor(contents: vscode.MarkedString | vscode.MarkedString[], range?: Range) {
if (!contents) {
throw new Error('Illegal argument');
throw new Error('Illegal argument, contents must be defined');
}
if (Array.isArray(contents)) {