Skip to content

Commit 1a91485

Browse files
authored
Merge pull request zignd#68 from grunxen/master
css completions for html.erb files
2 parents 9e4a950 + 57b0dd0 commit 1a91485

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/extension.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
121121
const tsReact = provideCompletionItemsGenerator('typescriptreact', jsxRegex);
122122
const js = provideCompletionItemsGenerator('javascript', jsxRegex)
123123
const jsReact = provideCompletionItemsGenerator('javascriptreact', jsxRegex);
124+
const erb = provideCompletionItemsGenerator('erb', htmlRegex);
124125

125126
context.subscriptions.push(html);
126127
context.subscriptions.push(razor);
@@ -131,6 +132,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
131132
context.subscriptions.push(tsReact);
132133
context.subscriptions.push(js);
133134
context.subscriptions.push(jsReact);
135+
context.subscriptions.push(erb);
134136

135137
await cache();
136138
}

0 commit comments

Comments
 (0)