Skip to content

Commit 7ac2141

Browse files
xxDukeMCxxzignd
authored andcommitted
Add autostart for EmmetCompletion
1 parent 62448a6 commit 7ac2141

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/extension.ts

+5
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ export async function activate(context: ExtensionContext): Promise<void> {
174174
}
175175
}));
176176

177+
// Enable Emmet Completion on startup if param is set to true
178+
if (workspace.getConfiguration().get<boolean>("html-css-class-completion.enableEmmetSupport")) {
179+
enableEmmetSupport(emmetDisposables);
180+
}
181+
177182
// Javascript based extensions
178183
["typescriptreact", "javascript", "javascriptreact"].forEach((extension) => {
179184
context.subscriptions.push(provideCompletionItemsGenerator(extension, /className=["|']([\w- ]*$)/));

0 commit comments

Comments
 (0)