File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import ParseEngineGateway from './parse-engine-gateway';
10
10
let notifier : Notifier = new Notifier ( 'html-css-class-completion.cache' ) ;
11
11
let uniqueDefinitions : CssClassDefinition [ ] = [ ] ;
12
12
13
- const completionTriggerChars = [ '"' , '\'' , ' ' ] ;
13
+ const completionTriggerChars = [ '"' , '\'' , ' ' , '.' ] ;
14
14
15
15
let caching : boolean = false ;
16
16
@@ -135,7 +135,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
135
135
// CSS based extensions
136
136
[ 'css' , 'sass' , 'scss' ] . forEach ( ( extension ) => {
137
137
// Support for Tailwind CSS
138
- context . subscriptions . push ( provideCompletionItemsGenerator ( extension , / @ a p p l y ( [ \w - ] * $ ) / ) ) ;
138
+ context . subscriptions . push ( provideCompletionItemsGenerator ( extension , / @ a p p l y ( [ \. \ w- ] * $ ) / , '.' ) ) ;
139
139
} ) ;
140
140
141
141
caching = true ;
You can’t perform that action at this time.
0 commit comments