Skip to content

Commit 3a36dd8

Browse files
authored
Fixes #60, Adds support for md files
1 parent 019b136 commit 3a36dd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/extension.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
117117
const php = provideCompletionItemsGenerator('php', htmlRegex);
118118
const vue = provideCompletionItemsGenerator('vue', htmlRegex);
119119
const twig = provideCompletionItemsGenerator('twig', htmlRegex);
120+
const md = provideCompletionItemsGenerator('md', htmlRegex);
120121
const tsReact = provideCompletionItemsGenerator('typescriptreact', jsxRegex);
121122
const js = provideCompletionItemsGenerator('javascript', jsxRegex)
122123
const jsReact = provideCompletionItemsGenerator('javascriptreact', jsxRegex);
@@ -126,6 +127,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
126127
context.subscriptions.push(php);
127128
context.subscriptions.push(vue);
128129
context.subscriptions.push(twig);
130+
context.subscriptions.push(md);
129131
context.subscriptions.push(tsReact);
130132
context.subscriptions.push(js);
131133
context.subscriptions.push(jsReact);
@@ -136,4 +138,4 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
136138
export function deactivate(): void {
137139
}
138140

139-
// TODO: Look for CSS class definitions automatically in case a new file is added to the workspace. I think the API does not provide and event for that. Maybe I should consider opening a PR.
141+
// TODO: Look for CSS class definitions automatically in case a new file is added to the workspace. I think the API does not provide and event for that. Maybe I should consider opening a PR.

0 commit comments

Comments
 (0)