Remove obsolete code as html emmet completions are now coming from html extension

This commit is contained in:
Ramya Achutha Rao
2018-03-12 23:28:11 -07:00
parent 62cfab535c
commit b7cf44841a

View File

@@ -35,8 +35,8 @@ export class DefaultCompletionItemProvider implements vscode.CompletionItemProvi
return;
}
// If document can be html/css parsed, validate syntax and location
if (document.languageId === 'html' || isStyleSheet(document.languageId)) {
// If document can be css parsed, validate syntax and location
if (isStyleSheet(document.languageId)) {
const rootNode = parseDocument(document, false);
if (!rootNode) {
return;