mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
Remove obsolete code as html emmet completions are now coming from html extension
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user