Skip to content

Commit c99f755

Browse files
authored
Merge pull request #110 from marc3lsk/master
support for "class" attribute in jsx
2 parents 749536f + f246bd3 commit c99f755

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/extension.ts

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export async function activate(context: ExtensionContext): Promise<void> {
146146
// Javascript based extensions
147147
['typescriptreact', 'javascript', 'javascriptreact'].forEach((extension) => {
148148
context.subscriptions.push(provideCompletionItemsGenerator(extension, /className=["|']([\w- ]*$)/));
149+
context.subscriptions.push(provideCompletionItemsGenerator(extension, /class=["|']([\w- ]*$)/));
149150
});
150151

151152
// HTML based extensions

0 commit comments

Comments
 (0)