Lazy load emmet helper to ease startup #35120

This commit is contained in:
Ramya Achutha Rao
2017-10-30 20:56:19 -07:00
parent 0c112c7a75
commit 81cca6cc60
7 changed files with 81 additions and 38 deletions

View File

@@ -4,9 +4,8 @@
*--------------------------------------------------------------------------------------------*/
import * as vscode from 'vscode';
import { getNodesInBetween, getNode, parseDocument, sameNodes } from './util';
import { getNodesInBetween, getNode, parseDocument, sameNodes, isStyleSheet } from './util';
import { Node, Stylesheet, Rule, HtmlNode } from 'EmmetNode';
import { isStyleSheet } from 'vscode-emmet-helper';
import parseStylesheet from '@emmetio/css-parser';
import { DocumentStreamReader } from './bufferStream';