@@ -79,7 +79,7 @@ async function cache(): Promise<void> {
7979}
8080
8181function provideCompletionItemsGenerator ( languageSelector : string , classMatchRegex : RegExp ,
82- classPrefix : string = "" , splitChar : string = " " ) {
82+ classPrefix : string = "" , splitChar : string = " " ) {
8383 return languages . registerCompletionItemProvider ( languageSelector , {
8484 provideCompletionItems ( document : TextDocument , position : Position ) : CompletionItem [ ] {
8585 const start : Position = new Position ( position . line , 0 ) ;
@@ -147,7 +147,7 @@ export async function activate(context: ExtensionContext): Promise<void> {
147147 if ( e . affectsConfiguration ( "html-css-class-completion.enableEmmetSupport" ) ) {
148148 const isEnabled = workspace . getConfiguration ( )
149149 . get < boolean > ( "html-css-class-completion.enableEmmetSupport" ) ;
150- isEnabled ? enableEmmetSupport ( emmetDisposables ) : disableEmmetSupport ( emmetDisposables ) ;
150+ isEnabled ? enableEmmetSupport ( emmetDisposables ) : disableEmmetSupport ( emmetDisposables ) ;
151151 }
152152 } catch ( err ) {
153153 err = new VError ( err , "Failed to automatically reload the extension after the configuration change" ) ;
@@ -186,7 +186,9 @@ export async function activate(context: ExtensionContext): Promise<void> {
186186 } ) ;
187187
188188 // HTML based extensions
189- [ "html" , "django-html" , "razor" , "php" , "blade" , "vue" , "twig" , "markdown" , "erb" , "handlebars" , "ejs" ] . forEach ( ( extension ) => {
189+ [ "html" , "django-html" , "razor" , "php" , "blade" , "vue" ,
190+ "twig" , "markdown" , "erb" , "handlebars" , "ejs" ,
191+ ] . forEach ( ( extension ) => {
190192 context . subscriptions . push ( provideCompletionItemsGenerator ( extension , / c l a s s = [ " | ' ] ( [ \w - ] * $ ) / ) ) ;
191193 } ) ;
192194
0 commit comments